home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / devcon / sanfrancisco_1989 / sf-devcon89.1 / commodities / aztec / popup / makefile < prev    next >
Makefile  |  1992-08-27  |  676b  |  35 lines

  1. # Demonstration program for Commodities Exchange
  2. # Copyright 1988, I and I Computing, all rights reserved    
  3. # may be freely used and distributed
  4.  
  5. PREDIR=RAD:
  6. OBJDIR=RAD:
  7. PRE=demo.pre
  8. PRESRC=sysall.h
  9.  
  10. DEST=//
  11.  
  12. LIBRARYNAME=commodities.library
  13.  
  14. LFLAGS=/cxsupp/cx_support.lib -lc
  15. CFLAGS=+I$(PREDIR)$(PRE) -DLIBNAME="$(LIBRARYNAME)" -I//include/
  16.  
  17. .c.o:
  18.     cc $(CFLAGS) -o $*.o $*.c
  19.  
  20. all: $(PREDIR)$(PRE) PopUp
  21.  
  22. DEMOO = demomain.o democx.o demowindow.o
  23.  
  24. # cx demo
  25. PopUp: $(DEMOO)
  26.     ln -o $@ $(DEMOO) $(LFLAGS)
  27.     copy PopUp $(DEST)
  28.  
  29. # prepare pre-include (dump files)
  30. $(PREDIR)$(PRE): $(PRE)
  31.     copy $(PRE) $(PREDIR)
  32.  
  33. $(PRE): $(PRESRC)
  34.     cc -A -o $(OBJDIR)pre_garbage.asm +H$(PRE) $(PRESRC)
  35.