qse/ase/test/awk/makefile.in

20 lines
371 B
Makefile

SRCS = awk.c
OBJS = $(SRCS:.c=.o)
CC = @CC@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/cmn -L@abs_top_builddir@/awk -L@abs_top_builddir@/utl
LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm
all: aseawk
aseawk: $(OBJS)
$(CC) -o $@ awk.o $(LDFLAGS) $(LIBS)
clean:
rm -rf *.o aseawk
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) $<