Leaked source code of windows server 2003
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.

58 lines
1.0 KiB

  1. #
  2. # Makefile for UNIX boxen
  3. #
  4. OBJS=\
  5. xtoken.o \
  6. crackle.o \
  7. at.o \
  8. hash.o \
  9. eval.o \
  10. io.o \
  11. assert.o \
  12. data.o \
  13. mem.o \
  14. stream.o \
  15. token.o \
  16. define.o \
  17. builtin.o \
  18. main.o \
  19. obj.o \
  20. gc.o \
  21. each.o \
  22. divert.o \
  23. m4: $(OBJS)
  24. $(CC) $(LFLAGS) -o m4 $(OBJS)
  25. CC=gcc
  26. CDEBUG=-g -DDEBUG # -O
  27. CFLAGS=$(CDEBUG) -DPOSIX -Wall -Werror -Wno-char-subscripts -Wpointer-arith -Wstrict-prototypes -Wno-unused
  28. .c.s:
  29. $(CC) $(CFLAGS) -S -c $<
  30. HFILES=m4.h io.h ctype.h tok.h mem.h divert.h stream.h
  31. clean:
  32. rm ($OBJS) m4
  33. mem.o: mem.c $(HFILES)
  34. stream.o: stream.c $(HFILES)
  35. token.o: token.c $(HFILES)
  36. define.o: define.c $(HFILES)
  37. builtin.o: builtin.c $(HFILES)
  38. main.o: main.c $(HFILES)
  39. obj.o: obj.c $(HFILES)
  40. gc.o: gc.c $(HFILES)
  41. each.o: each.c $(HFILES)
  42. divert.o: divert.c $(HFILES)
  43. xtoken.o: xtoken.c $(HFILES)
  44. predef.o: predef.c $(HFILES)
  45. crackle.o: crackle.c $(HFILES)
  46. at.o: at.c $(HFILES)
  47. eval.o: eval.c $(HFILES)
  48. io.o: io.c $(HFILES)
  49. hash.o: hash.c $(HFILES)
  50. assert.o: assert.c $(HFILES)
  51. data.o: data.c $(HFILES)