2005-02-05 05:03:05 +00:00
|
|
|
SRCS = lisp.c
|
|
|
|
OUTS = $(SRCS:.c=.x)
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
|
2005-02-05 05:18:20 +00:00
|
|
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/c -L@abs_top_builddir@/xp/lisp
|
|
|
|
LIBS = @LIBS@ -lxpc -lxplisp
|
2005-02-05 05:03:05 +00:00
|
|
|
|
|
|
|
all: $(OUTS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OUTS) *.o
|
|
|
|
|
|
|
|
.SUFFIXES: .c .x
|
|
|
|
.c.x:
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
|