Loading files
d442579a6This file is pinned to the selected release. Download the original to open it in your design tool.
.SUFFIXES: .c .o .asm .hex .bin
TARGETS = mimg
all : $(TARGETS)
CC = $(CROSS_COMPILE)gcc
STRIP = strip
CFLAGS += -ggdb -Wall -std=gnu99 -O2
LDLIBS += -lm
install:
$(STRIP) $(TARGETS)
for TARGET in $(TARGETS); do ln -sf $$(pwd)/$$TARGET /usr/axiom/bin/axiom_$$TARGET; chmod u+s $$TARGET; done
mkdir -p /opt/
ln -sf $$(pwd)/overlays /opt/overlays
clean:
rm -f *.o
rm -f $(TARGETS)
rm -f *~ *.orig