GNUmakefile 446 Bytes
#
# Makefile for Go/No-go Zaru test jig tests
#

include $(ROOT)/usr/include/make/PRdefs

include ../gngdefs

CODEFILES = uji.c uji_pif.c uji_audio.c

CODEOBJECTS =	$(CODEFILES:.c=.o)
CODESEGMENT =	ujiCodeSegment.o
TARGETS = $(CODEOBJECTS)

default: $(CODESEGMENT)

include $(COMMONRULES)

LDFLAGS =	$(MKDEPOPT) -L$(ROOT)/usr/lib -L$(ROOT)/usr/lib/PR -lgcc 

$(CODESEGMENT):	$(CODEOBJECTS)
		$(LD) -o $(CODESEGMENT) -r $(CODEOBJECTS) $(LDFLAGS)