GNUmakefile 431 Bytes
#!smake
#
# Makefile for tool to print ram start lba of the given disk type
#

PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=-I$(ROOT)/host_include
GLDOPTS=

OPTIMIZER = -g

TARGETS= ramstart

CFILES = ramstart.c

LCINCS = -I. -I$(PRDEPTH)/include
#LCOPTS = -fullwarn -D_DEBUG
LCOPTS = -Wall

LDIRT=

default: $(TARGETS)

include $(COMMONRULES)

exports install: default
	$(INSTALL) -m 555 -F /usr/sbin $(TARGETS)