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
|
2005-06-12 15:46:02 +00:00
|
|
|
$(CC) $(LDFLAGS) -o $@.x $< $(LIBS)
|
2005-06-06 02:58:30 +00:00
|
|
|
|
|
|
|
parser: parser.o
|
2005-06-12 15:46:02 +00:00
|
|
|
$(CC) $(LDFLAGS) -o $@.x $< $(LIBS)
|
2005-05-08 10:39:40 +00:00
|
|
|
|
|
|
|
clean:
|
2005-06-12 15:46:02 +00:00
|
|
|
rm -rf *.x *.o
|
2005-05-08 10:39:40 +00:00
|
|
|
|
2005-06-06 02:58:30 +00:00
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|