summaryrefslogtreecommitdiff
path: root/tools/scaninc/Makefile
blob: 71c4389ef91f7c894c704e54fca4feac89a0d770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CXX = g++

CXXFLAGS = -Wall -std=c++11 -O2

SRCS = scaninc.cpp c_file.cpp asm_file.cpp

HEADERS := scaninc.h asm_file.h c_file.h

.PHONY: clean

scaninc: $(SRCS) $(HEADERS)
	$(CXX) $(CXXFLAGS) $(SRCS) -o $@

clean:
	$(RM) scaninc scaninc.exe