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

  1. OBJS=sample5.obj 
  2. LIBS=$(OOL)\lib\OOLW3E03.LIB
  3.  
  4. #dll.mak:
  5. #    @echo checking subprojects
  6. #    @make -C dll -f dll.mak
  7.  
  8. all: sample5.exe sample5.dll
  9.  
  10. %.obj: %.cpp
  11.     gcc -Zmtd -Zcrtdll -Zomf -fhandle-exceptions -c $<
  12.  
  13. sample5.exe: $(OBJS)
  14.     gcc -Zmtd -Zcrtdll -Zomf -fhandle-exceptions -o sample5.exe $(OBJS) $(LIBS) sample5.def
  15.  
  16.  
  17. sample5.dll: sample5.rc sample5.dlg
  18.     rc -r sample5.rc sample5.res
  19.     link386 \emx\lib\res0, sample5.dll, nul, ,dll.def
  20.     rc sample5.res sample5.dll
  21.  
  22.  
  23. sample5.obj: sample5.cpp\
  24.     sample5.h
  25.  
  26.