GNUmakefile 392 Bytes
#!smake
#

PRDEPTH = ../..
include $(PRDEPTH)/PRdefs

CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include
GLDOPTS=
LCINCS=-I$(ROOT)/usr/include/PR
LCOPTS=-Wall

OPTIMIZER = -g

TARGETS=rommd

CFILES = rommd.c

default: $(TARGETS)

include $(PRDEPTH)/PRrules

$(TARGETS): $(OBJECTS)
	$(CC) -o $@ $(OBJECTS) $(LDFLAGS)

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