home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR24 / TIMUP121.ZIP / SOURCE.ZIP / makefile next >
Makefile  |  1993-05-19  |  858b  |  50 lines

  1. #
  2. # /emx/test/makefile
  3. #
  4. CFLAGS=-g -Wall
  5. CC=gcc $(CFLAGS)
  6. B=/emx/bin/
  7. I=/emx/include/
  8. P=/emx/include.cpp/
  9. L=/emx/lib/
  10. SIGNAL=$(I)signal.h $(I)sys/signal.h
  11. FCNTL=$(I)fcntl.h $(I)sys/fcntl.h
  12. LIBS=$(L)crt0.o $(L)libc.a $(L)libgcc.a
  13. LIBP=$(L)libgpp.a
  14. LIBOS2=$(L)libos2.a
  15. LIBBSD=$(L)libbsd.a
  16.  
  17. .SUFFIXES: .o .c .cc .s .exe
  18.  
  19. .c.o:
  20.     $(CC) -c $<
  21.  
  22. .cc.o:
  23.     $(CC) -c $<
  24.  
  25. .c.s:
  26.     $(CC) -S $<
  27.  
  28. .o.exe:
  29.     $(CC) -o $*.exe $<
  30.  
  31. Default :    timeup.exe
  32.  
  33.  
  34. all :    timeup.exe vmem.exe
  35.  
  36.  
  37. timeup.res :    timeup.rc timeup.ico timeup.h
  38.     rc -r -i \emx\include timeup.rc
  39.  
  40. timeup.exe : timeup.c timeup.res timeup.def timeup.rc
  41.     gcc -o timeup.exe timeup.c timeup.def timeup.res -O2 -Zomf
  42.  
  43. vmem.res :    vmem.rc vmem.ico
  44.     rc -r -i \emx\include vmem.rc
  45.  
  46.  
  47. vmem.exe :    vmem.c vmem.res vmem.def vmem.rc
  48.     gcc -o vmem.exe vmem.c vmem.def vmem.res -O2 -Zomf
  49.  
  50.