home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample12 / emx.mak next >
Makefile  |  1997-02-08  |  833b  |  38 lines

  1. #Makefile generated by Object WorkFrame - MakeMake
  2. #(c)opyright Stefan von Brauk, 1996
  3. #target:   GNU Make
  4. #compiler: EMX/GCC
  5. #date:     17.01.1997
  6. #actions:
  7. #   Compile C/C++
  8. #   Link OBJ
  9. #output: sample12.exe
  10. #files: sample12.cpp sample12.obj 
  11.  
  12. #Object files/libraries to link
  13. OBJS=sample12.obj 
  14. LIBS=$(OOL)\lib\OOLW3E03.LIB
  15.  
  16. #Default compiler switches
  17. CC=gcc.exe
  18. DFLAGS=-Zomf -c -fhandle-exceptions
  19.  
  20. #Rules how to build the application
  21. CFLAGS= -Zmt -Zcrtdll
  22. LINK=gcc.exe -Zomf -Zcrtdll -Zlinker /PACKD -Zlinker /PACKC  -Zlinker /PM:VIO -o
  23.  
  24. #All files to build
  25. all:  sample12.exe
  26.  
  27. #Rules to build the object-files
  28. %.obj: %.cpp
  29.     $(CC) $(CFLAGS) $(DFLAGS) $<
  30.  
  31. #Rules to build the application
  32. sample12.exe: $(OBJS) 
  33.     $(LINK) sample12.exe $(OBJS) $(LIBS)
  34.  
  35. #Dependencies
  36. sample12.obj: sample12.cpp
  37.  
  38.