diff options
author | erdgeist <> | 2007-10-01 00:31:59 +0000 |
---|---|---|
committer | erdgeist <> | 2007-10-01 00:31:59 +0000 |
commit | 25e59aeca368ac7c7ea395ed27eb0633ba2fa02c (patch) | |
tree | 1552eba9593edd63e372f3b1b8d4946de6cbf419 | |
parent | d0b5c463d9db10907d94be05fdc3db5639e617d4 (diff) |
Two more bugs in Makefile. Maybe I learn it one day
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,10 +14,10 @@ all: $(BINARY) $(BINARY).debug | |||
14 | CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) | 14 | CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) |
15 | CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) | 15 | CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) |
16 | 16 | ||
17 | $(BINARY): $(OBJECTS_production) | 17 | $(BINARY): $(SOURCES) $(HEADERS) |
18 | $(CC) $? -o $@ $(SOURCES) $(CFLAGS_production) $(LDFLAGS) | 18 | $(CC) -o $@ $(SOURCES) $(CFLAGS_production) $(LDFLAGS) |
19 | $(BINARY).debug: $(OBJECTS_debug) | 19 | $(BINARY).debug: $(SOURCES) $(HEADERS) |
20 | $(CC) $? -o $@ $(SOURCES) $(CFLAGS_debug) $(LDFLAGS) | 20 | $(CC) -o $@ $(SOURCES) $(CFLAGS_debug) $(LDFLAGS) |
21 | 21 | ||
22 | clean: | 22 | clean: |
23 | rm -rf opentracker opentracker.debug *.o *~ | 23 | rm -rf opentracker opentracker.debug *.o *~ |