home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / streams / handles / makefile.g < prev    next >
Encoding:
Makefile  |  1992-02-18  |  421 b   |  25 lines

  1. # makefile for DJGPP
  2. #
  3. # Tested with DJGPP v1.05 and GNU make (works with tc make too)
  4. #
  5. #  W. Metzenthen   14th feb 1992
  6. #
  7.  
  8. SHELL    = command.com
  9.  
  10.  
  11. CC    = gcc
  12. OBJS    = test2.o
  13. DEBUG    =
  14. CFLAGS    = -O $(DEBUG) -D__MSDOS__
  15.  
  16. test2.exe:    $(OBJS)
  17.     $(CC) $(DEBUG) -o $* $(OBJS)
  18.     strip $*
  19.     copy /b e:\gnu\bin\stub.exe+$* $*.exe > con
  20.     rm -f $*
  21.  
  22.  
  23. test2.o:    test2.c
  24.     $(CC) -c $(CFLAGS) $(CPPFLAGS) test2.c -o test2.o
  25.