[Aggregator] Makefile: use -D TIMESTAMP by default

This commit is contained in:
Matteo Cypriani 2011-03-02 17:00:21 +01:00
parent 85085a24cd
commit 47c62a3d5e
1 changed files with 4 additions and 2 deletions

View File

@ -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)