Created
April 15, 2009 09:07
-
-
Save qnighy/95696 to your computer and use it in GitHub Desktop.
Makefile I use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/make | |
CC = gcc | |
CXX = g++ | |
# 1. use VERY STRICT warning option. | |
# 2. use NEW STANDARD C/C++ option. | |
# 3. use BRAND NEW gcc extension. | |
CFLAGS = \ | |
-O2 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings \ | |
-Wconversion -Waggregate-return -Wstrict-prototypes \ | |
-Wmissing-declarations --std=gnu99 | |
CXXFLAGS = \ | |
-O2 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings \ | |
-Wconversion -Waggregate-return -Wstrict-prototypes \ | |
-Wmissing-declarations -Wenum-clash --std=gnu++98 | |
CPPFLAGS = | |
LDFLAGS = -lm | |
OBJS = qsattack | |
all: $(OBJS) | |
clean: | |
$(RM) $(OBJS) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment