git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-support/bankpack/Makefile

      1 # bankcheck (auto bank tool) makefile
      2 
      3 ifndef TARGETDIR
      4 TARGETDIR = /opt/gbdk
      5 endif
      6 
      7 ifeq ($(OS),Windows_NT)
      8 	BUILD_OS := Windows_NT
      9 else
     10 	BUILD_OS := $(shell uname -s)
     11 endif
     12 
     13 # Target older macOS version than whatever build OS is for better compatibility
     14 ifeq ($(BUILD_OS),Darwin)
     15 	export MACOSX_DEPLOYMENT_TARGET=10.10
     16 endif
     17 
     18 CC = $(TOOLSPREFIX)gcc
     19 CFLAGS = -ggdb -O -Wno-incompatible-pointer-types -DGBDKLIBDIR=\"$(TARGETDIR)\"
     20 OBJ = bankpack.o files.o obj_data.o list.o path_ops.o options.o
     21 BIN = bankpack
     22 
     23 all: $(BIN)
     24 
     25 $(BIN): $(OBJ)
     26 
     27 clean:
     28 	rm -f *.o $(BIN) *~
     29 	rm -f *.exe
     30 

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.