Unformatted text preview: SIZE32=-m32 SIZE64=-m64 # If your compiler is gcc, this can help find memory problems at compile-time. For some # systems, the MALLOC_CHECK environment variable helps too, but this has to be asserted # at run time, so there's nothing we can do about it here. HARDEN=-D_FORTIFY_SOURCE=2 CFLAGS=-Wall -g -pedantic $(SIZE32) $(HARDEN) $(SUS2) LDFLAGS= ALL=proj1 all: $(ALL) proj1: proj1.c proj1.h $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< Doxyfile: doxygen -g clean: rm -rf core* *.o *.gch $(ALL)...
View Full Document
- Spring '09
- #, Run time, environment variable, CFLAGS, 199506L, 200112L