home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / edmi3.zip / DPIPELN.ZIP / MAKEFILE < prev    next >
Text File  |  1993-04-27  |  1KB  |  46 lines

  1. # Makefile for dpipeln
  2. #
  3. # See the READ.ME file that came with the DPipeLn archive for disclaimer.
  4. #
  5. # $Log: makefile,v $
  6. # Revision 1.1  1993/03/02  17:02:14  cro
  7. # Initial revision
  8. #
  9. # The CCFLAGS, LIBS, OBJS, and DEFS lines that are commented out
  10. # below are for compiling a debug version of DPipeLn for use under EMX/GDB.
  11. # If you need to do this, just swap the #'s with the corresponding line.
  12. #
  13.  
  14. # Needed for Gnu Make 3.63.  It has trouble finding the default command processor.
  15. SHELL=C:/4os2/4os2.exe
  16.  
  17.  
  18. CC=gcc
  19.  
  20. # CCFLAGS=-g -Zmt -DDEBUG_EMX
  21. CCFLAGS=-Zomf -Zsys
  22.  
  23. # LIBS=-los2 -Zmt
  24. LIBS=-los2 -Zomf -Zsys
  25.  
  26. # OBJS=dpipeln.o
  27. OBJS=dpipeln.obj
  28.  
  29. # MODDEFFILE=
  30. MODDEFFILE=dpipeln.def
  31.  
  32. # Comment this out if you do not use 4Dos as your Dos command processor.
  33. #DEFS=-DUSING_4DOS
  34.  
  35. %.obj : %.c
  36.     $(CC) $(CCFLAGS) $(DEFS) -c $< -o $@
  37.  
  38. %.o : %.c
  39.     $(CC) $(CCFLAGS) $(DEFS) -c $< -o $@
  40.  
  41. dpipeln.exe: $(OBJS)
  42.     $(CC) $(DEFS) $(OBJS) -o dpipeln.exe $(MODDEFFILE) $(LIBS)
  43.  
  44. clean:
  45.     erase dpipeln.exe $(OBJS)
  46.