X-Git-Url: https://pd.if.org/git/?p=uuid;a=blobdiff_plain;f=Makefile;h=4814ee0dad4183bcc7a070683eeec34924ec0653;hp=ed7deb6e276d249255d98a461478e673428ab83e;hb=HEAD;hpb=89078e281093c442c5275050cad8867abc6885bf diff --git a/Makefile b/Makefile index ed7deb6..4814ee0 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ CFLAGS=-Wall -I. -L. # set the following for windows #LDFLAGS += -liphlpapi -all: libpduuid.a +all: libpduuid.a uuidgen windows: libpduuid.a uuidgen.o $(CC) $(CFLAGS) -Wall -L. -o $@ uuidgen.o -lpduuid $(LDFLAGS) -liphlpapi @@ -38,8 +38,8 @@ internal.o: internal.c uuidgen2: libpduuid.a uuidgen2.o $(CC) $(CFLAGS) -Wall -L. -o $@ uuidgen2.o -lpduuid $(LDFLAGS) -uuidgen: libpduuid.a uuidgen.o - $(CC) $(CFLAGS) -Wall -L. -o $@ uuidgen.o -lpduuid $(LDFLAGS) +uuidgen: libpduuid.a uuidgen.o warn.o + $(CC) $(CFLAGS) -Wall -L. -o $@ uuidgen.o warn.o -lpduuid $(LDFLAGS) clean: rm -f *.o *.a uuidgen postgres/*.o postgres/*.so