17 lines
304 B
Makefile
17 lines
304 B
Makefile
SRCS = lisp.c
|
|
OUTS = $(SRCS:.c=.x)
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
|
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/lisp
|
|
LIBS = @LIBS@ -lxpbas -lxplisp
|
|
|
|
all: $(OUTS)
|
|
|
|
clean:
|
|
rm -rf $(OUTS) *.o
|
|
|
|
.SUFFIXES: .c .x
|
|
.c.x:
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
|