patch-server_Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. $Id$
  2. --- w-dhcp6-1.0-1.orig/server/Makefile Fri Jun 28 14:49:42 2002
  3. +++ w-dhcp6-1.0-1/server/Makefile Tue Jul 25 10:37:06 2006
  4. @@ -1,27 +1,26 @@
  5. -CC = gcc
  6. STD_HEADERS = stdhead.h head.h struct.h options_type.h message_type.h macros.h status_codes.h constants.h
  7. OBJECT_FILES = server.o lib.o advertise.o parse.o leases.o reply.o
  8. serv: $(OBJECT_FILES)
  9. - $(CC) -g3 $(OBJECT_FILES) -o serv
  10. + $(CC) $(OBJECT_FILES) -o serv
  11. lib.o: lib.c lib.h $(STD_HEADERS)
  12. - $(CC) -g3 -c lib.c -o lib.o
  13. + $(CC) -c lib.c -o lib.o
  14. parse.o: parse.c parse.h $(STD_HEADERS)
  15. - $(CC) -g3 -c parse.c -o parse.o
  16. + $(CC) -c parse.c -o parse.o
  17. leases.o: leases.c leases.h $(STD_HEADERS)
  18. - $(CC) -g3 -c leases.c -o leases.o
  19. + $(CC) -c leases.c -o leases.o
  20. advertise.o: advertise.c advertise.h $(STD_HEADERS)
  21. - $(CC) -g3 -c advertise.c -o advertise.o
  22. + $(CC) -c advertise.c -o advertise.o
  23. reply.o: reply.c reply.h $(STD_HEADERS)
  24. - $(CC) -g3 -c reply.c -o reply.o
  25. + $(CC) -c reply.c -o reply.o
  26. server.o: server.c lib.h advertise.h reply.h leases.h parse.h $(STD_HEADERS)
  27. - $(CC) -g3 -c server.c -o server.o
  28. + $(CC) -c server.c -o server.o
  29. clean:
  30. rm -f *.o serv