Makefile 465 Bytes
#

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

IOSIMLIB	= ${ROOT}/PR/iosim/src/libiosim.a

TARGETS = drv_test

#
# C Flags
#
LCINCS	= -I$(ROOT)/PR/iosim/src -I$(ROOT)/usr/include -I$(ROOT)/usr/include/PR
LCOPTS	= -g -DDEBUG -DCHATTY
LCFLAGS = $(LCOPTS) $(LCINCS)

#
# Linker Flags
#
LLDLIBS	= $(IOSIMLIB)

default: $(TARGETS)

include $(COMMONRULES)

drv_test: drv_test.o external.o
	$(HOST_CC) -o $@ $^ $(LLDLIBS)

.c.o:
	$(HOST_CC) $(LCFLAGS) -c $<