Minor updates to make it easier to port to Linux
This commit is contained in:
parent
ba13ad5e3c
commit
7ea6e10f1f
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include "CheckMemoryLeak.h"
|
#include "CheckMemoryLeak.h"
|
||||||
|
|
||||||
#include "Tokenize.h"
|
#include "tokenize.h"
|
||||||
#include "Statements.h"
|
#include "Statements.h"
|
||||||
|
|
||||||
#include "CommonCheck.h"
|
#include "CommonCheck.h"
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -3,11 +3,11 @@ OBJS=$(SRCS:%.cpp=%.o)
|
||||||
|
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
gxx -Wall -pedantic -I. -o $@ -c $^
|
g++ -Wall -pedantic -I. -o $@ -c $^
|
||||||
|
|
||||||
all: ${OBJS} main.o
|
all: ${OBJS} main.o
|
||||||
gxx -o cppcheck $^
|
g++ -o cppcheck $^
|
||||||
test: ${OBJS} TestTok.o
|
test: ${OBJS} TestTok.o
|
||||||
gxx -o cppcheck_test $^
|
g++ -o cppcheck_test $^
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o cppcheck_test cppcheck
|
rm -f *.o cppcheck_test cppcheck
|
||||||
|
|
Loading…
Reference in New Issue