Definition of CPP changed. Output function can be customized.
[egate.git] / fml / Makefile
index db2b779..e3b2f93 100644 (file)
@@ -1,23 +1,21 @@
 # FML interpreter. Europagate, 1995
 #
-# $Id: Makefile,v 1.3 1995/02/09 16:06:04 adam Exp $
+# $Id: Makefile,v 1.9 1995/02/22 08:50:48 adam Exp $
 
 SHELL=/bin/sh
-INCLUDE=-I../include
+INCLUDE=-I../include -I.
 TPROG1=fmltest
 CFLAGS=-g -Wall -pedantic 
+CPP=$(CC) -E
 DEFS=$(INCLUDE)
-LIB=fml.a 
+LIB=../lib/fml.a 
 PO = fmltoken.o fmlmem.o fml.o fmlsym.o fmlrel.o fmlarit.o fmllist.o \
-fmlcall.o fmlcalls.o
-
-CPP=cc -E
-CC=gcc
+fmlcall.o fmlcalls.o fmlmarc.o fmlstr.o
 
 all: $(LIB) $(TPROG1) $(TPROG2)
 
 $(TPROG1): $(TPROG1).o $(LIB) 
-       $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB)
+       $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
 
 $(LIB): $(PO)
        rm -f $(LIB)