diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,11 +13,13 @@ MAN5 = farbfeld.5 all: $(BIN) -.o: $(REQ:=.o) - $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o) +$(BIN): $(REQ:=.o) $(BIN:=.o): config.mk $(HDR) $(REQ:=.h) +.o: $(REQ:=.o) + $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o) + clean: rm -f $(BIN) $(BIN:=.o) $(REQ:=.o) |