[Aggregator] Makefile: use -D TIMESTAMP by default
This commit is contained in:
parent
85085a24cd
commit
47c62a3d5e
|
@ -21,7 +21,9 @@ CFLAGS=-O2 -Wall -Wextra -Wstrict-prototypes -O -I.
|
|||
DEPFLAGS=-MMD
|
||||
XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
|
||||
PICFLAG=-fPIC
|
||||
LIBS=-lpthread -lconfuse ../../libowlps/libowlps.so.1.0
|
||||
OWLPSFLAGS = -D TIMESTAMP
|
||||
LIBS = -pthread -lconfuse -L../../libowlps -lowlps
|
||||
LDFLAGS = $(LIBS) $(OWLPSFLAGS)
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
|
@ -33,7 +35,7 @@ all : $(TARGET)
|
|||
% : %.o
|
||||
$(CC) $(LDFLAGS) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LIBS)
|
||||
%.o : %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) -c $<
|
||||
$(CC) $(XCFLAGS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
# Compilation du programme
|
||||
$(TARGET) : $(TARGET).o $(HEADER)
|
||||
|
|
Loading…
Reference in New Issue