mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
105e1721d6
This also fixes the bug where scaninc would ignore #include lines in assembly files.
16 lines
291 B
Makefile
16 lines
291 B
Makefile
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: clean
|
|
|
|
scaninc: $(SRCS) $(HEADERS)
|
|
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
clean:
|
|
$(RM) scaninc scaninc.exe
|