2005-05-08 10:39:40 +00:00
|
|
|
CC = @CC@
|
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
|
2005-05-08 10:44:58 +00:00
|
|
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/stx
|
2005-05-08 10:39:40 +00:00
|
|
|
LIBS = @LIBS@ -lxpstx -lxpbas
|
|
|
|
|
2005-06-06 02:58:30 +00:00
|
|
|
all: stx parser
|
|
|
|
|
|
|
|
stx: stx.o
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
|
|
|
|
|
|
|
|
parser: parser.o
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
|
2005-05-08 10:39:40 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OUTS) *.o
|
|
|
|
|
2005-06-06 02:58:30 +00:00
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|