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 = hist
all : $(TARGETS)
CC = gcc
STRIP = strip
CFLAGS += -ggdb -Wall -std=gnu99 -O2
LDFLAGS += -lm
hist.static : hist.o
$(CC) $(CFLAGS) -static $(LDFLAGS) -o $@ $^
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