mirror of
git://erdgeist.org/opentracker
synced 2025-01-14 00:40:09 +00:00
enable proxy.debug target
This commit is contained in:
parent
8d025a1745
commit
c005b42be4
5
Makefile
5
Makefile
@ -53,6 +53,7 @@ SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c
|
|||||||
OBJECTS = $(SOURCES:%.c=%.o)
|
OBJECTS = $(SOURCES:%.c=%.o)
|
||||||
OBJECTS_debug = $(SOURCES:%.c=%.debug.o)
|
OBJECTS_debug = $(SOURCES:%.c=%.debug.o)
|
||||||
OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o)
|
OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o)
|
||||||
|
OBJECTS_proxy_debug = $(SOURCES_proxy:%.c=%.debug.o)
|
||||||
|
|
||||||
.SUFFIXES: .debug.o .o .c
|
.SUFFIXES: .debug.o .o .c
|
||||||
|
|
||||||
@ -67,7 +68,9 @@ $(BINARY): $(OBJECTS) $(HEADERS)
|
|||||||
$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)
|
$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)
|
||||||
$(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS)
|
$(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS)
|
||||||
proxy: $(OBJECTS_proxy) $(HEADERS)
|
proxy: $(OBJECTS_proxy) $(HEADERS)
|
||||||
$(CC) -o $@ $(OBJECTS_proxy) $(LDFLAGS)
|
$(CC) -o $@ $(OBJECTS_proxy) $(CFLAGS_production) $(LDFLAGS)
|
||||||
|
proxy.debug: $(OBJECTS_proxy_debug) $(HEADERS)
|
||||||
|
$(CC) -o $@ $(OBJECTS_proxy_debug) $(LDFLAGS)
|
||||||
|
|
||||||
.c.debug.o : $(HEADERS)
|
.c.debug.o : $(HEADERS)
|
||||||
$(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c)
|
$(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c)
|
||||||
|
Loading…
Reference in New Issue
Block a user