TARGETS= minimise primer initial view
-CWARNS= -Wall -Wwrite-strings -Wpointer-arith -Werror
+CWARNS= -Wall -Wwrite-strings -Wpointer-arith -Werror -Wshadow
+CXXWARNS= $(CWARNS) -Wno-shadow -Wno-error
OPTIMISE= -O2
-CFLAGS= $(CWARNS) -MMD $(OPTIMISE) -g
-CXXFLAGS= $(CWARNS) -MMD $(OPTIMISE) -g
+CFLAGS= -MMD $(OPTIMISE) -g $(CWARNS)
+CXXFLAGS= -MMD $(OPTIMISE) -g $(CXXWARNS)
LIBGSL= -lgsl -lgslcblas
./$^ -o$@
clean:
- rm -f *.o $(TARGETS) *.new *.tmp
+ rm -f *.o $(TARGETS) *.new *.tmp *.rej *.orig
rm -f initial
rm -f *.d