home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / octave-1.1.1p1-src.tgz / tar.out / fsf / octave / dld / test / overlay / Makefile < prev    next >
Makefile  |  1996-09-28  |  339b  |  21 lines

  1. EXEC = overlay
  2. LIB = ../../libdld.a
  3. INCLUDE = ../../dld.h
  4. CC= gcc
  5. CFLAGS = -g -I../..
  6.  
  7. all:    ${EXEC}
  8.  
  9. clean:
  10.     rm -f ${EXEC} *.o
  11.  
  12. ${LIB}:    ../../dld.c $(INCLUDE)
  13.     cd ../..; make 
  14.  
  15. .c.o:
  16.     ${CC} -c ${CFLAGS} $*.c
  17.  
  18. overlay: $(LIB) $(INCLUDE) overlay.c chain1.o chain2.o chain3.o 
  19.     ${CC} ${CFLAGS} -fwritable-strings overlay.c $(LIB) -o overlay
  20.  
  21.