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