1TOPDIR=../ 2include $(TOPDIR)Rules.make 3 4all: itpptype.o playit$(LIB_SUFFIX) 5 6playit_so=itload.o itpinst.o itplay.o itpplay.o itptrack.o itrtns.o itsex.o ittime.o 7playit$(LIB_SUFFIX): $(playit_so) 8 $(CC) $(SHARED_FLAGS) -o $@ $^ 9 10clean: 11 rm -f *.o *$(LIB_SUFFIX) 12 13install: 14 $(CP) playit$(LIB_SUFFIX) "$(DESTDIR)$(LIBDIR)" 15 16uninstall: 17 rm -f "$(DESTDIR)$(LIBDIR)/playit$(LIB_SUFFIX)" 18 19itpptype.o: itpptype.c \ 20 ../config.h \ 21 ../types.h \ 22 ../filesel/filesystem.h \ 23 ../filesel/mdb.h 24 $(CC) itpptype.c -o $@ -c 25 26itload.o: itload.c \ 27 ../config.h \ 28 ../types.h \ 29 ../dev/mcp.h \ 30 ../filesel/filesystem.h \ 31 itplay.h \ 32 ../stuff/compat.h \ 33 ../stuff/err.h 34 $(CC) itload.c -o $@ -c 35 36itpinst.o: itpinst.c \ 37 ../config.h \ 38 ../types.h \ 39 itplay.h \ 40 ../dev/mcp.h \ 41 ../stuff/poutput.h \ 42 ../cpiface/cpiface.h 43 $(CC) itpinst.c -o $@ -c 44 45itplay.o: itplay.c \ 46 ../config.h \ 47 ../types.h \ 48 itplay.h \ 49 ../cpiface/cpiface.h \ 50 ../dev/mcp.h \ 51 ../stuff/imsrtns.h 52 $(CC) itplay.c -o $@ -c 53 54itpplay.o: itpplay.c \ 55 ../config.h \ 56 ../types.h \ 57 ../boot/plinkman.h \ 58 ../boot/psetting.h \ 59 ../cpiface/cpiface.h \ 60 ../dev/deviwave.h \ 61 ../dev/mcp.h \ 62 ../filesel/filesystem.h \ 63 ../filesel/mdb.h \ 64 ../filesel/pfilesel.h \ 65 itplay.h \ 66 ../stuff/compat.h \ 67 ../stuff/err.h \ 68 ../stuff/poutput.h 69 $(CC) itpplay.c -o $@ -c 70 71itptrack.o: itptrack.c \ 72 ../config.h \ 73 ../types.h \ 74 itplay.h \ 75 ../stuff/poutput.h \ 76 ../cpiface/cpiface.h \ 77 ../dev/mcp.h 78 $(CC) itptrack.c -o $@ -c 79 80itrtns.o: itrtns.c \ 81 ../config.h \ 82 ../types.h \ 83 itplay.h 84 $(CC) itrtns.c -o $@ -c 85 86# kb, how did you come up with this name? - stian 87itsex.o: itsex.c \ 88 ../config.h \ 89 ../types.h \ 90 ../filesel/filesystem.h \ 91 itplay.h \ 92 ../stuff/imsrtns.h 93 $(CC) itsex.c -o $@ -c 94 95ittime.o: ittime.c \ 96 ../config.h \ 97 ../types.h \ 98 itplay.h 99 $(CC) ittime.c -o $@ -c 100