Makefile 547 Bytes
#!smake
#
# Makefile for com
#
SUBDIR=cord
CMDDEPTH=..

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

sinclude locdefs

LLDLIBS = -lelf -lmld 


CFILES= \
	cpu_patch.c		\
	create.c		\
	events.c		\
	fixmdebug.c		\
	global.c		\
	 main.c			\
	option.c		\
	post_process.c		\
	proc.c			\
	readfb.c		\
	reorder.c		\

#
default: $(_FORCE)
	@for i in $(TARGETS) ; do \
	cd $(CMDDEPTH)/$$i ; \
	$(MAKE) -f $(CMDDEPTH)/$(SUBDIR)/Makefile $$i ;\
	done

gcord: $(OBJECTS)
	$(CCF)  *.o $(LDFLAGS) -o $@

	

include $(PRDEPTH)/PRrules