1 include $(TOPDIR)/lpc/Makefile-lpc.defs
15 # Common AltOS sources
33 PRODUCT_DEF=-DALTOS_FLASH
36 CFLAGS = $(PRODUCT_DEF) $(LPC_CFLAGS) -g -Os
38 LDFLAGS=$(CFLAGS) -L$(TOPDIR)/lpc -Wl,-Taltos-loader.ld
41 PROG=$(HARDWARE)-$(PROGNAME)-$(VERSION).elf
43 $(PROG): Makefile $(OBJ) altos-loader.ld
44 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
46 ao_product.h: ao-make-product.5c $(TOPDIR)/Version
47 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
56 rm -f *.o $(HARDWARE)-$(PROGNAME)-*.elf