genann/Makefile

26 lines
312 B
Makefile

CCFLAGS = -Wall -Wshadow -O2 -g
LDLIBS = -lm
all: test example1 example2 example3 example4
test: test.o genann.o
check: test
./$^
example1: example1.o genann.o
example2: example2.o genann.o
example3: example3.o genann.o
example4: example4.o genann.o
clean:
$(RM) *.o
$(RM) *.exe
$(RM) persist.txt