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 ##