Created
September 16, 2020 20:50
-
-
Save ksherlock/b8b20ed818c8dda117d21c050861fab0 to your computer and use it in GitHub Desktop.
make-ample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DRIVERS = apple1.cpp apple2.cpp apple3.cpp apple2e.cpp apple2gs.cpp agat.cpp | |
comma = , | |
empty = | |
space = $(empty) $(empty) | |
.PHONY: all | |
all: mame64 mame-data.tgz | |
.PHONY: mame64 | |
mame64: | |
make -j2 SOURCES=$(subst $(space),$(comma),$(addprefix src/mame/drivers/,$(DRIVERS))) SDL_FRAMEWORK_PATH="`pwd`/Frameworks" | |
.PHONY: regenie | |
regenie: | |
make -j2 SOURCES=$(subst $(space),$(comma),$(addprefix src/mame/drivers/,$(DRIVERS))) SDL_FRAMEWORK_PATH="`pwd`/Frameworks" REGENIE=1 | |
# src/mame/drivers/apple1.cpp,src/mame/drivers/apple2.cpp,src/mame/drivers/apple2e.cpp,src/mame/drivers/apple2gs.cpp,src/mame/drivers/apple3.cpp | |
# excluding hashes directory for now. | |
mame-data.tgz: | |
tar cfz mame-data.tgz --disable-copyfile artwork bgfx ini keymaps language plugins samples uismall.bdf | |
.PHONY: clean | |
clean: | |
rm mame64 | |
rm mame-data.tgz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment