]> 4ch.mooo.com Git - plz.git/blobdiff - makefile
....
[plz.git] / makefile
index 6f3b8206717ded0df7437e9687fb21bd28682ad2..c853b80e896ee016271265756febf93d2eea3c2b 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -62,16 +62,15 @@ FLAGS=$(CFLAGS) $(OFLAGS) $(DFLAGS) $(ZFLAGS)
 \r
 \r
 EXEC = plzpart.exe\r
+OBJS = copper.$(OBJ) tweak.$(OBJ) plz.$(OBJ) asmyt.$(OBJ)\r
 \r
 all: $(EXEC)\r
 \r
-#copper.$(OBJ) tweak.$(OBJ) asmyt.$(OBJ)\r
-\r
 #\r
 #game and bakapi executables\r
 #\r
-plzpart.exe: plzpart.$(OBJ) copper.$(OBJ) tweak.$(OBJ) asmyt.$(OBJ) plz.$(OBJ)\r
-       wcl $(FLAGS) $(PLZFLAGS) plzpart.$(OBJ) copper.$(OBJ) tweak.$(OBJ) asmyt.$(OBJ) plz.$(OBJ) -fm=plzpart.map\r
+plzpart.exe: plzpart.$(OBJ) $(OBJS)\r
+       wcl $(FLAGS) $(PLZFLAGS) plzpart.$(OBJ) $(OBJS) -fm=plzpart.map\r
 \r
 \r
 #\r
@@ -87,13 +86,18 @@ plz.$(OBJ): plz.h plz.c
        wcl $(FLAGS) -c plz.c\r
 tweak.$(OBJ): tweak.h tweak.c\r
        wcl $(FLAGS) -c tweak.c\r
+asmyt.$(OBJ): asmyt.h asmyt.c\r
+       wcl $(FLAGS) -c asmyt.c\r
+copper.$(OBJ): copper.h copper.c copper.asm\r
+#      wcl $(AFLAGS) -zcm=tasm -c copper.asm\r
+       wcl $(FLAGS) -c copper.c\r
 #tasm compiled...\r
-copper.$(OBJ): copper.h copper.asm\r
-       wcl $(AFLAGS) -zcm=tasm -c copper.asm\r
+copper.$(OBJ): copper.h copper.asm\r
+#      wcl $(AFLAGS) -zcm=tasm -c copper.asm\r
 # tweak.$(OBJ): tweak.h tweak.asm\r
 #      wcl $(AFLAGS) -zcm=tasm -c tweak.asm\r
-asmyt.$(OBJ): asmyt.h asmyt.asm\r
-       wcl $(AFLAGS) -zcm=tasm -c asmyt.asm\r
+asmyt.$(OBJ): asmyt.h asmyt.asm\r
+#      wcl $(AFLAGS) -zcm=tasm -c asmyt.asm\r
 \r
 #\r
 #other~\r