mirror of
https://github.com/pret/pokeruby.git
synced 2024-12-13 15:51:32 +00:00
16 lines
290 B
Makefile
16 lines
290 B
Makefile
CXX := g++
|
|
|
|
CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch -Werror
|
|
|
|
SRCS := main.cpp sym_file.cpp elf.cpp
|
|
|
|
HEADERS := ramscrgen.h sym_file.h elf.h char_util.h
|
|
|
|
.PHONY: clean
|
|
|
|
ramscrgen: $(SRCS) $(HEADERS)
|
|
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
clean:
|
|
$(RM) ramscrgen ramscrgen.exe
|