qse/ase/test/awk/makefile.in

24 lines
493 B
Makefile

#
# $Id: makefile.in,v 1.16 2007-03-24 05:02:52 bacon Exp $
#
CC = @CC@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@
LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm
MODE = @BUILDMODE@
OUT_DIR = ../../$(MODE)
all: $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk
$(OUT_DIR)/aseawk:
$(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS)
$(OUT_DIR)/miniawk:
$(CC) $(CFLAGS) -o $@ mini.c $(LDFLAGS) $(LIBS)
clean:
rm -rf $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk