home *** CD-ROM | disk | FTP | other *** search
/ MegaDoom Adventures / PMWMEGADOOM.iso / doom / creators / deu52gcc / src / contrib / bcc2grx / test / makefile < prev    next >
Makefile  |  1993-06-25  |  756b  |  43 lines

  1. # This makefile is set up for Borland make 3.0/3.6
  2. # With gnuish make 3.58 you have to uncomment the following line
  3. #.SUFFIXES: .exe .c .S .o
  4.  
  5. CC     = gcc
  6. CFLAGS = -O -Wall
  7. LIB    = ../LIB/libbcc.a
  8. INC    = ../INCLUDE
  9. LGRX   = -lgrx
  10.  
  11. .c.o:
  12.     $(CC) $(CFLAGS) -I$(INC) -c $*.c
  13.  
  14. .o.exe:
  15.     $(CC) $(CFLAGS) $*.o $(LIB) $(LGRX) -lm -o $*
  16.     strip $*
  17.     aout2exe $*
  18.     del $*
  19.  
  20. all: bccbgi.exe tfill.exe tpoly.exe ttext.exe tmodes.exe
  21.  
  22. bccbgi.: bccbgi.o $(LIB)
  23. bccbgi.o: bccbgi.c htmext.inc
  24. tmodes.: tmodes.o
  25. ttext.:  ttext.o
  26. tpoly.:  tpoly.o
  27. tfill.:  tfill.o
  28.  
  29. clean:
  30.     del *.o
  31.     del tpoly
  32.     del tpoly.exe
  33.     del tmodes
  34.     del tmodes.exe
  35.     del tfill
  36.     del tfill.exe
  37.     del ttext
  38.     del ttext.exe
  39.     del bccbgi
  40.  
  41. cleanall: clean
  42.     del bccbgi.exe
  43.