home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the DOOM Programming Gurus / Tricks_of_the_Doom_Programming_Gurus.iso / bonus / editors / deth / source / makefile < prev    next >
Encoding:
Makefile  |  1995-04-01  |  1.2 KB  |  48 lines

  1. # gnuish Makefile
  2.  
  3. OPTIONS = -O2 -g -pedantic -Wall
  4. CC = gcc $(OPTIONS)
  5.  
  6. SRCS =  deu.c gfx.c menus.c nodes.c textures.c edit.c levels.c mouse.c \
  7.     objects.c things2.c editobj.c names.c wads.c readcfg.c
  8.     
  9. OBJS = $(SRCS:.c=.o)
  10.  
  11. deth.exe: deth
  12.     strip deth
  13.     coff2exe deth
  14.             
  15. deth: $(OBJS)
  16.     gcc $(OPTIONS) -o deth $(OBJS) -lm -lpc -lbcc -lgrx
  17.  
  18. debug: $(OBJS)
  19.     gcc -g $(OPTIONS) -o deth $(OBJS) -lm -lpc -lbcc -lgrx
  20.  
  21. clean:
  22.     del *.o
  23.     del deth
  24.     del deth.exe
  25.  
  26. zip:
  27.     zip -u source.zip *.c *.h makefile *.cfg *.dm? *.her *.dm
  28.  
  29. tags:
  30.     ctags -r *.c *.h
  31.  
  32. # dependencies produced by 'gcc -MM' 
  33.  
  34. deu.o : deu.c deu.h deu-go32.h 
  35. edit.o : edit.c deu.h deu-go32.h levels.h wstructs.h
  36. editobj.o : editobj.c deu.h deu-go32.h levels.h wstructs.h
  37. gfx.o : gfx.c deu.h deu-go32.h 
  38. levels.o : levels.c deu.h deu-go32.h wstructs.h
  39. menus.o : menus.c deu.h deu-go32.h 
  40. mouse.o : mouse.c deu.h deu-go32.h 
  41. names.o : names.c deu.h deu-go32.h 
  42. nodes.o : nodes.c deu.h deu-go32.h levels.h wstructs.h
  43. objects.o : objects.c deu.h deu-go32.h levels.h wstructs.h
  44. textures.o : textures.c deu.h deu-go32.h 
  45. things2.o : things2.c deu.h deu-go32.h 
  46. wads.o : wads.c deu.h deu-go32.h 
  47. readcfg.o: readcfg.c deu.h deu-go32.h wstructs.h
  48.