lisp: Fix up lisp build so projects can get ao_lisp_const.h built as needed
[fw/altos] / src / cortexelf-v1 / Makefile
index 66f18045a7118929869fb5e4abc7d7d3bfd2dba1..cea75ddf4fdd617b7a65c2bcaba1bda5b9f2371e 100644 (file)
@@ -102,7 +102,7 @@ HEX=$(PROGNAME)-$(VERSION).ihx
 SRC=$(ALTOS_SRC) ao_cortexelf.c
 OBJ=$(SRC:.c=.o)
 
-all: $(PROG) $(HEX)
+all:: $(PROG) $(HEX)
 
 $(PROG): Makefile $(OBJ) cortexelf.ld
        $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
@@ -117,10 +117,12 @@ ao_product.h: ao-make-product.5c ../Version
 
 distclean:     clean
 
-clean:
+clean::
        rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx
        rm -f ao_product.h
 
+include ../lisp/Makefile-lisp
+
 install:
 
 uninstall: