[Aggregator] Fix Makefile (don't link with .h)
This commit is contained in:
parent
812273cc0c
commit
376aa106dc
|
@ -51,14 +51,14 @@ LDFLAGS = $(LIBS) $(OWLPSFLAGS)
|
|||
|
||||
all : $(TARGET)
|
||||
|
||||
# Cancel implicit make rule
|
||||
%: %.c
|
||||
|
||||
% : %.o
|
||||
$(CC) $(LDFLAGS) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^
|
||||
$(CC) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
%.o : %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
# Program compilation
|
||||
$(TARGET) : $(TARGET).o $(HEADER)
|
||||
|
||||
|
||||
## Installation / uninstallation ##
|
||||
|
||||
|
|
Loading…
Reference in New Issue