home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume21 / libiexec / part01 / Makefile < prev    next >
Makefile  |  1991-07-25  |  505b  |  25 lines

  1. # Makefile for interpreter exec library.
  2. # This file is in the public domain.
  3.  
  4. SHELL = /bin/sh
  5. CC = gcc -O
  6. CFLAGS = -g # -DSTDLIB_MISSING -DLIMITS_MISSING -DUNISTD_MISSING
  7. LDFLAGS = -g
  8.  
  9. SHAR_FILES = README Makefile iexec.c ietest.c cshscript
  10.  
  11. all: libiexec.a
  12.  
  13. libiexec.a: iexec.o
  14.     ar rc $@ iexec.o
  15.     -ranlib $@
  16.  
  17. ietest: ietest.c libiexec.a
  18.     $(CC) -o $@ $(CFLAGS) $(LDFLAGS) -Dexeclp=iexeclp ietest.c libiexec.a
  19.  
  20. shar.out: $(SHAR_FILES)
  21.     shar $(SHAR_FILES) > shar.out
  22.  
  23. clean:
  24.     rm -f *.[ao] ietest tags TAGS
  25.