mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 20:17:38 +01:00
19 lines
311 B
Makefile
19 lines
311 B
Makefile
CXX ?= g++
|
|
|
|
CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch -Werror
|
|
|
|
SRCS := main.cpp sym_file.cpp elf.cpp
|
|
|
|
HEADERS := ramscrgen.h sym_file.h elf.h char_util.h
|
|
|
|
.PHONY: all clean
|
|
|
|
all: ramscrgen
|
|
@:
|
|
|
|
ramscrgen: $(SRCS) $(HEADERS)
|
|
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
clean:
|
|
$(RM) ramscrgen ramscrgen.exe
|