mirror of
https://github.com/DS-Homebrew/flashcard-archive.git
synced 2024-11-22 09:49:16 +01:00
e8f78c0956
This fixes building on macOS.
15 lines
361 B
Makefile
15 lines
361 B
Makefile
.PHONY: package
|
|
|
|
export TOPDIR := $(CURDIR)
|
|
export BASE := $(shell basename $(CURDIR))
|
|
export OUT := $(TOPDIR)/../../out
|
|
export COMMON := $(TOPDIR)/../../common-kernels
|
|
|
|
package: directory pandora-ds.com_Kernel.zip
|
|
|
|
directory:
|
|
mkdir -p $(OUT)/$(BASE)
|
|
|
|
pandora-ds.com_Kernel.zip: directory
|
|
cd $(TOPDIR)/pandora-ds.com_Kernel && zip -r $(OUT)/$(BASE)/$@ *
|