home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample3 / emx.mak < prev    next >
Makefile  |  1997-04-03  |  778b  |  37 lines

  1. #Makefile generated by Object WorkFrame - MakeMake
  2. #(c)opyright Stefan von Brauk, 1996
  3. #target:   IBM NMake
  4. #compiler: EMX/GCC
  5. #date:     3.11.1996
  6. #actions:
  7. #   Compile C/C++
  8. #   Compile RC
  9. #   Link OBJ
  10. #   Link DEF
  11. #   Link RES
  12. #files: sample3.cpp sample3.rc sample3.obj sample3.RES sample3.DEF 
  13.  
  14. OBJS=sample3.obj 
  15. LIBS=$(OOL)\LIB\OOLW3E03.lib $(OOL)\LIB\OOLM3E03.lib
  16.  
  17. CC=gcc.exe
  18.  
  19. CFLAGS=-Zomf -c -Zmt -Zcrtdll -fhandle-exceptions
  20. LINK=gcc.exe -Zomf -Zcrtdll -Zlinker /PACKD -Zlinker /PACKC -o
  21.  
  22. all: sample3.exe
  23.  
  24. %.obj: %.cpp
  25.     $(CC) $(CFLAGS) $<
  26.  
  27. sample3.exe: $(OBJS) sample3.res 
  28.     $(LINK) sample3.exe $(OBJS) $(LIBS) sample3.def
  29.     rc sample3.res sample3.exe
  30.  
  31. sample3.res: sample3.rc
  32.     rc -r sample3.rc
  33.  
  34. sample3.obj: sample3.cpp\
  35.     sample3.h
  36.  
  37.