6 include ../stmf0/Makefile.defs
37 PRODUCT_DEF=-DPNPSERVO
40 CFLAGS = $(PRODUCT_DEF) -I. $(STMF0_CFLAGS)
42 LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stmf0 -Wl,-Tlambda.ld
45 PROG=$(PROGNAME)-$(VERSION).elf
46 HEX=$(PROGNAME)-$(VERSION).ihx
48 SRC=$(ALTOS_SRC) ao_pnpservo.c
53 $(PROG): Makefile $(OBJ) lambda.ld altos.ld
54 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
58 ao_product.h: ao-make-product.5c ../Version
59 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
67 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx