Bug fix: GW_LOG_ERRNO.
[egate.git] / fml / Makefile
index 882a2c6..00ee88c 100644 (file)
@@ -1,13 +1,13 @@
 # FML interpreter. Europagate, 1995
 #
-# $Id: Makefile,v 1.11 1995/02/23 08:32:03 adam Exp $
+# $Id: Makefile,v 1.14 1995/03/27 12:49:51 adam Exp $
 
 SHELL=/bin/sh
-INCLUDE=-I../include -I.
+INCLUDE=-I../include -I. $(REGEXINC)
 TPROG1=fmltest
-CFLAGS=-g -Wall -pedantic 
+#CFLAGS=-g -Wall -pedantic
 CPP=$(CC) -E
-DEFS=$(INCLUDE)
+DEFS=$(INCLUDE) -DUSE_GNU_REGEX=1
 LIB=../lib/fml.a 
 PO = fmltoken.o fmlmem.o fml.o fmlsym.o fmlrel.o fmlarit.o fmllist.o \
 fmlcall.o fmlcalls.o fmlmarc.o fmlstr.o
@@ -15,7 +15,7 @@ fmlcall.o fmlcalls.o fmlmarc.o fmlstr.o
 all: $(LIB) $(TPROG1) $(TPROG2)
 
 $(TPROG1): $(TPROG1).o $(LIB) 
-       $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
+       $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a $(REGEXOBJ)
 
 $(LIB): $(PO)
        rm -f $(LIB)