summaryrefslogtreecommitdiff
path: root/tools/scaninc/Makefile
blob: 52e663d8da34ec6b46e02045ee268e7fb0fdd9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CXX ?= g++

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

SRCS = scaninc.cpp c_file.cpp asm_file.cpp source_file.cpp

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

.PHONY: all clean

all: scaninc
	@:

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

clean:
	$(RM) scaninc scaninc.exe