qse/ase/test/awk/makefile.in

20 lines
371 B
Makefile
Raw Normal View History

2006-01-12 12:42:10 +00:00
SRCS = awk.c
2006-11-18 15:36:57 +00:00
OBJS = $(SRCS:.c=.o)
2006-01-12 12:42:10 +00:00
CC = @CC@
2007-01-26 16:10:32 +00:00
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
2007-02-23 08:28:39 +00:00
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/cmn -L@abs_top_builddir@/awk -L@abs_top_builddir@/utl
2007-03-06 14:58:00 +00:00
LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm
2006-01-12 12:42:10 +00:00
2007-02-08 03:54:18 +00:00
all: aseawk
2006-11-18 15:36:57 +00:00
2007-02-08 03:54:18 +00:00
aseawk: $(OBJS)
2006-11-19 07:28:33 +00:00
$(CC) -o $@ awk.o $(LDFLAGS) $(LIBS)
2006-01-12 12:42:10 +00:00
clean:
2007-02-08 03:54:18 +00:00
rm -rf *.o aseawk
2006-01-12 12:42:10 +00:00
2006-11-18 15:36:57 +00:00
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) $<