Comment servir des pintes de Guinness "over Internet" ;) Reprise/Fork d'un très ancien code d'un pilier de f.m.b.l : http://tnemeth.free.fr/projets/guinness-server.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #
  2. # Guinness Server from tnemeth
  3. #
  4. # Makefile handcrafted by tTh
  5. #
  6. H_DEP = broadcast.h commands.h defines.h guinnessd.h printlog.h \
  7. xmem.h clients.h config.h drinks.h lists.h tools.h
  8. COPT = -Wall -g
  9. D_OBJS = xmem.o broadcast.o printlog.o lists.o tools.o drinks.o \
  10. commands.o clients.o
  11. D_LIBS = -lpthread -lcrypt
  12. # ---------------------------------------------------------
  13. #
  14. # Main program
  15. #
  16. guinnessd: guinnessd.o Makefile $(D_OBJS)
  17. gcc -g $< $(D_OBJS) $(D_LIBS) -o $@
  18. guinnessd.o: guinnessd.c Makefile $(H_DEP)
  19. gcc $(COPT) -c $<
  20. # ---------------------------------------------------------
  21. #
  22. # modules needed by the daemon
  23. #
  24. broadcast.o: broadcast.c Makefile $(H_DEP)
  25. gcc $(COPT) -c $<
  26. printlog.o: printlog.c Makefile $(H_DEP)
  27. gcc $(COPT) -c $<
  28. lists.o: lists.c Makefile $(H_DEP)
  29. gcc $(COPT) -c $<
  30. xmem.o: xmem.c Makefile $(H_DEP)
  31. gcc $(COPT) -c $<
  32. tools.o: tools.c Makefile $(H_DEP)
  33. gcc $(COPT) -c $<
  34. drinks.o: drinks.c Makefile $(H_DEP)
  35. gcc $(COPT) -c $<
  36. commands.o: commands.c Makefile $(H_DEP)
  37. gcc $(COPT) -c $<
  38. clients.o: clients.c Makefile $(H_DEP)
  39. gcc $(COPT) -c $<
  40. # ---------------------------------------------------------
  41. clients.o: clients.c Makefile $(H_DEP)
  42. gcc $(COPT) -c $<