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

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