diff options
Diffstat (limited to 'tmp/Makefile')
-rwxr-xr-x[-rw-r--r--] | tmp/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/tmp/Makefile b/tmp/Makefile index 73f035a..cdf8bb8 100644..100755 --- a/tmp/Makefile +++ b/tmp/Makefile @@ -41,26 +41,17 @@ PHONY := all all: $(OBJ) -coins.s: $(COINS_SRC) $(COINS_INC) +%.s: @echo " CC coins/tmp/$@" $(Q)$(CC) $(CFLAGS) -I $(INC_DIR) -S $< -o $@ -coins.o: coins.s +%.o: %.s @echo " AS coins/tmp/$@" $(Q)$(AS) $< -o $@ -main.s: $(MAIN_SRC) $(MAIN_INC) - @echo " CC coins/tmp/$@" - $(Q)$(CC) $(CFLAGS) -I $(INC_DIR) -S $< -o $@ -main.o: main.s - @echo " AS coins/tmp/$@" - $(Q)$(AS) $< -o $@ +coins.s: $(COINS_SRC) $(COINS_INC) +main.s: $(MAIN_SRC) $(MAIN_INC) parse.s: $(PARSE_SRC) $(PARSE_INC) - @echo " CC coins/tmp/$@" - $(Q)$(CC) $(CFLAGS) -I $(INC_DIR) -S $< -o $@ -parse.o: parse.s - @echo " AS coins/tmp/$@" - $(Q)$(AS) $< -o $@ PHONY += clean |