6 include ../stmf0/Makefile.defs
8 aoschemelib=$(shell pkg-config --variable=aoschemelib ao-scheme)
10 include $(aoschemelib)/Makefile-scheme
39 PRODUCT=LambdaKey-v1.0
40 PRODUCT_DEF=-DLAMBDAKEY
43 CFLAGS = $(PRODUCT_DEF) -I. -I$(aoschemelib) $(STMF0_CFLAGS)
45 PROGNAME=lambdakey-v1.0
46 PROG=$(PROGNAME)-$(VERSION).elf
47 HEX=$(PROGNAME)-$(VERSION).ihx
49 SRC=$(ALTOS_SRC) ao_lambdakey.c
53 echo lib is $(aoschemelib)
57 $(PROG): Makefile $(OBJ)
58 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS) -Wl,-M=$(PROGNAME).map
62 ao_scheme_const.h: ao-scheme-make-const ao_scheme_basic_syntax.scheme
63 $^ -o $@ -d FLOAT,VECTOR,QUASI,BIGINT,POSIX,PORT,SAVE,UNDEF
71 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx ao_scheme_const.h