mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-17 02:26:12 -05:00
* Sync tools/ directory with pokeemerald We really ought to have a central repository for this mess * Make incremental builds faster Scientists hate him! He made NODEP disappear with this ONE SIMPLE TRICK!!! Want to know more? -> __click here__ <- * Disassemble some more tables and the first graphic
25 lines
378 B
Makefile
25 lines
378 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
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
EXE := .exe
|
|
else
|
|
EXE :=
|
|
endif
|
|
|
|
all: ramscrgen$(EXE)
|
|
@:
|
|
|
|
ramscrgen$(EXE): $(SRCS) $(HEADERS)
|
|
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
clean:
|
|
$(RM) ramscrgen ramscrgen.exe
|