2019-08-06 23:30:57 +00:00
|
|
|
CXX ?= g++
|
2017-12-04 01:55:01 +00:00
|
|
|
|
2018-06-16 22:49:27 +00:00
|
|
|
CXXFLAGS = -Wall -Werror -std=c++11 -O2
|
2017-12-04 01:55:01 +00:00
|
|
|
|
2019-03-04 02:59:57 +00:00
|
|
|
SRCS = scaninc.cpp c_file.cpp asm_file.cpp source_file.cpp
|
2017-12-04 01:55:01 +00:00
|
|
|
|
2019-03-04 02:59:57 +00:00
|
|
|
HEADERS := scaninc.h asm_file.h c_file.h source_file.h
|
2017-12-04 01:55:01 +00:00
|
|
|
|
2019-07-23 20:17:00 +00:00
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all: scaninc
|
|
|
|
@:
|
2017-12-04 01:55:01 +00:00
|
|
|
|
|
|
|
scaninc: $(SRCS) $(HEADERS)
|
|
|
|
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) scaninc scaninc.exe
|