diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -7,20 +7,20 @@ CFLAGS = -Werror -Wpedantic -I. -g -DUSE_READLINE LDFLAGS = -lreadline $(TARGET) : zup.h $(OBJ) - @echo ' (LD)' $(OBJ) - @gcc $(LDFLAGS) -o $@ $(OBJ) + @echo ' (LD)' $(OBJ) + @gcc $(LDFLAGS) -o $@ $(OBJ) %.o : %.c zup.h - @echo ' (CC)' $< - @gcc $(CFLAGS) -c -o $@ $< + @echo ' (CC)' $< + @gcc $(CFLAGS) -c -o $@ $< all : $(TARGET) .PHONY : install install : - mkdir -p $(PREFIX)/bin - install $(TARGET) $(PREFIX)/bin/$(TARGET) + mkdir -p $(PREFIX)/bin + install $(TARGET) $(PREFIX)/bin/$(TARGET) .PHONY : clean clean : - rm $(TARGET) $(OBJ) + rm $(TARGET) $(OBJ) |