pokeruby/tools/preproc/Makefile
ProjectRevoTPP 14dcee450d Potential fix for Issue #1 (#10)
replace all-zero incbins with .space and build fixes for certain Linux configurations
2016-06-17 05:00:47 -07:00

18 lines
347 B
Makefile

CXX := g++
CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch
SRCS := asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp \
utf8.cpp
HEADERS := asm_file.h c_file.h char_util.h charmap.h preproc.h string_parser.h \
utf8.h
.PHONY: clean
preproc: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@
clean:
$(RM) preproc preproc.exe