home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 038 / dho_9a.zip / EXAMPLES.MAK < prev    next >
Makefile  |  1994-12-06  |  432b  |  17 lines

  1. CC=gcc
  2. CFLAGS=-O2
  3. # put in your lib dir here!
  4. LIBDIR = .\
  5. LIBS=$(LIBDIR)dhos2.lib
  6.  
  7. all: example1.exe example2.exe
  8.  
  9.  
  10. example1.exe :  example1.obj  $(LIBS) example1.def example1.res
  11.     $(CC) $(CFLAGS)  example1.obj $(LIBS) example1.def -o  example1.exe
  12.     rc example1.res
  13.  
  14. example2.exe :  example2.obj $(LIBS) example2.def example2.res
  15.     $(CC) $(CFLAGS)  example2.obj $(LIBS) example2.def -o  example2.exe
  16.     rc example2.res
  17.