X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=Makefile;h=3be13e39719dedaf9eecd2d9bde966f9c06ef91d;hb=0bfa9f900af9a4f4e65f3f580056de28380b333a;hp=ef55441e60d782a9fea1d5074ba199a54a940116;hpb=a13ea998b6e350e9870452cefdaba6d4ce158f27;p=apps%2Fpfixtools.git diff --git a/Makefile b/Makefile index ef55441..3be13e3 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,11 @@ PROGRAMS = postlicyd GENERATED = tokens.h tokens.c postlicyd_SOURCES = \ - str.h buffer.h job.h postfix.h gai.h \ - str.c buffer.c job.c postfix.c gai.c \ + str.h buffer.h job.h postfix.h \ + str.c buffer.c job.c postfix.c \ postlicyd.c $(GENERATED) -postlicyd_LIBADD = -lanl +postlicyd_LIBADD = -lpthread # RULES ###################################################################{{{ @@ -52,7 +52,7 @@ all: $(PROGRAMS) $(GENERATED) | $(GENERATED) clean: $(RM) $(PROGRAMS) - $(RM) .*.o + $(RM) .*.o .*.dep distclean: clean $(RM) $(GENERATED) @@ -76,8 +76,8 @@ headers: .%.o: %.c Makefile $(CC) $(CFLAGS) -MMD -MT ".$*.dep $@" -MF .$*.dep -g -c -o $@ $< -%.dep: %.c Makefile - $(CC) $(CFLAGS) -MM -MT ".$*.dep $@" -MF .$*.dep $< +.%.dep: %.c Makefile + $(CC) $(CFLAGS) -MM -MT ".$*.o $@" -MF .$*.dep $< .SECONDEXPANSION: