include ../config.mk CC = gcc CFLAGS += -DPORT=UNIX objects = jbistub.o jbimain.o jbicomp.o jbijtag.o all : jbi jbi : $(objects) $(CC) $(objects) -o $@ jbistub.o: jbistub.c jbiexprt.h jbimain.o: jbimain.c jbiport.h jbiexprt.h jbijtag.h jbicomp.h jbicomp.o: jbicomp.c jbiport.h jbiexprt.h jbicomp.h jbijtag.o: jbijtag.c jbiport.h jbiexprt.h jbijtag.h install: all cp jbi $(IBINPATH) uninstall: clean ( cd $(IBINPATH) ; rm -f jbi ) clean: rm -f $(objects) jbi distclean: uninstall rm -f ./*~