mirror of
git://erdgeist.org/opentracker
synced 2025-01-12 07:50:52 +00:00
Two more bugs in Makefile. Maybe I learn it one day
This commit is contained in:
parent
d0b5c463d9
commit
25e59aeca3
8
Makefile
8
Makefile
@ -14,10 +14,10 @@ all: $(BINARY) $(BINARY).debug
|
||||
CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
|
||||
CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
|
||||
|
||||
$(BINARY): $(OBJECTS_production)
|
||||
$(CC) $? -o $@ $(SOURCES) $(CFLAGS_production) $(LDFLAGS)
|
||||
$(BINARY).debug: $(OBJECTS_debug)
|
||||
$(CC) $? -o $@ $(SOURCES) $(CFLAGS_debug) $(LDFLAGS)
|
||||
$(BINARY): $(SOURCES) $(HEADERS)
|
||||
$(CC) -o $@ $(SOURCES) $(CFLAGS_production) $(LDFLAGS)
|
||||
$(BINARY).debug: $(SOURCES) $(HEADERS)
|
||||
$(CC) -o $@ $(SOURCES) $(CFLAGS_debug) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -rf opentracker opentracker.debug *.o *~
|
||||
|
Loading…
Reference in New Issue
Block a user