summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ca58096)
Fix the library usage, use $(LIBS) instead of $(SAT_CLIB) -lgcc
Signed-off-by: Keith Packard <keithp@keithp.com>
#STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
ALTOS_SRC = \
#STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
ALTOS_SRC = \
ao_interrupt.c \
ao_product.c \
ao_romconfig.c \
ao_interrupt.c \
ao_product.c \
ao_romconfig.c \
PROGNAME=fox1ihu-v0.1
PROG=$(PROGNAME)-$(VERSION).elf
PROGNAME=fox1ihu-v0.1
PROG=$(PROGNAME)-$(VERSION).elf
+HEX=$(PROGNAME)-$(VERSION).ihx
SRC=$(ALTOS_SRC) ao_fox1ihu.c
OBJ=$(SRC:.c=.o)
SRC=$(ALTOS_SRC) ao_fox1ihu.c
OBJ=$(SRC:.c=.o)
$(PROG): Makefile $(OBJ) altos.ld
$(PROG): Makefile $(OBJ) altos.ld
- $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
+ $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)