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 = lut_conf
all : $(TARGETS)
CC = gcc
STRIP = strip
CFLAGS += -ggdb -Wall -std=gnu99 -O2
LDFLAGS += -lm
lut_conf.static : lut_conf.o
$(CC) $(CFLAGS) -static -o $@ $^ $(LDFLAGS)
install:
$(STRIP) $(TARGETS)
for TARGET in $(TARGETS); do ln -sf $$(pwd)/$$TARGET /usr/axiom/bin/axiom_$$TARGET; chmod u+s $$TARGET; done
clean:
rm -f *.o
rm -f $(TARGETS)
rm -f *~ *.orig