From 376aa106dcfd3760754b2079875f6e0efde022aa Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Fri, 30 Dec 2011 14:43:42 +0100 Subject: [PATCH] [Aggregator] Fix Makefile (don't link with .h) --- owlps-aggregator/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/owlps-aggregator/Makefile b/owlps-aggregator/Makefile index 8c8872a..cce9af1 100644 --- a/owlps-aggregator/Makefile +++ b/owlps-aggregator/Makefile @@ -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 ##