home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / shapw102.zip / romy102.zip / Makefile < prev    next >
Makefile  |  1998-12-02  |  626b  |  42 lines

  1. #
  2. # Makefile for 'Mr Romy Watches You'
  3. #
  4.  
  5. CC    = gcc -c
  6. CFLAGS    = -Zmtd -O2
  7. LD    = gcc
  8. LDFLAGS    = -s -Zmtd
  9. EMXPATH = D:\emx
  10.  
  11. #
  12. # Inference Rules
  13. #
  14. .c.o :
  15.     $(CC) $(CFLAGS) $*.c
  16.  
  17. #
  18. # Target to Build
  19. #
  20.  
  21. TARGET = romy.exe
  22.  
  23. all : $(TARGET)
  24.  
  25. #
  26. # Files to Use
  27. #
  28.  
  29. SRCS = romy.c shapewin.c
  30. OBJS = romy.o shapewin.o
  31. LIBS = 
  32.  
  33. romy.exe : $(OBJS) $(LIBS) romy.def romy.res
  34.     $(LD) $(LDFLAGS) -o romy.exe romy.def romy.res $(OBJS) $(LIBS)
  35.  
  36. romy.res : romy.rc romyres.h romy.bmp
  37.     rc -r -i $(EMXPATH)\include romy.rc
  38.  
  39. romy.o : romy.c shapewin.h romy.h romyres.h romybmp.h
  40.  
  41. shapewin.o : shapewin.c shapewin.h
  42.