Two more bugs in Makefile. Maybe I learn it one day

dynamic-accesslists
erdgeist 17 years ago
parent d0b5c463d9
commit 25e59aeca3

@ -14,10 +14,10 @@ all: $(BINARY) $(BINARY).debug
CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
$(BINARY): $(OBJECTS_production) $(BINARY): $(SOURCES) $(HEADERS)
$(CC) $? -o $@ $(SOURCES) $(CFLAGS_production) $(LDFLAGS) $(CC) -o $@ $(SOURCES) $(CFLAGS_production) $(LDFLAGS)
$(BINARY).debug: $(OBJECTS_debug) $(BINARY).debug: $(SOURCES) $(HEADERS)
$(CC) $? -o $@ $(SOURCES) $(CFLAGS_debug) $(LDFLAGS) $(CC) -o $@ $(SOURCES) $(CFLAGS_debug) $(LDFLAGS)
clean: clean:
rm -rf opentracker opentracker.debug *.o *~ rm -rf opentracker opentracker.debug *.o *~

Loading…
Cancel
Save