altos/telegps-v2.0: git ignore make results
[fw/altos] / src / lisp / Makefile
1 all: ao_lisp_const.h
2
3 clean:
4         rm -f ao_lisp_const.h $(OBJS) ao_lisp_make_const
5
6 ao_lisp_const.h: ao_lisp_const.lisp ao_lisp_make_const
7         ./ao_lisp_make_const -o $@ ao_lisp_const.lisp
8
9 include Makefile-inc
10 SRCS=$(LISP_SRCS)
11
12 HDRS=$(LISP_HDRS)
13
14 OBJS=$(SRCS:.c=.o)
15
16 CFLAGS=-DAO_LISP_MAKE_CONST -O0 -g -I. -Wall -Wextra -no-pie
17
18
19 ao_lisp_make_const:  $(OBJS)
20         $(CC) $(CFLAGS) -o $@ $(OBJS)
21
22 $(OBJS): $(HDRS)