#!/usr/bin/make -f # Makefile for WineASIO # # --------------------- # # Created by falkTX # VERSION = 1.3.0 PREFIX ?= /usr all: @echo "error: you must pass '32' or '64' as an argument to this Makefile in order to build WineASIO" # --------------------------------------------------------------------------------------------------------------------- 32: $(MAKE) build ARCH=i386 M=32 64: $(MAKE) build ARCH=x86_64 M=64 # --------------------------------------------------------------------------------------------------------------------- clean: rm -f *.o *.so rm -rf build32 build64 rm -rf gui/__pycache__ # --------------------------------------------------------------------------------------------------------------------- tarball: clean rm -f ../wineasio-$(VERSION).tar.gz tar -c -z \ --exclude=".git*" \ --exclude=debian \ --transform='s,^\.,wineasio-$(VERSION),' \ -f ../wineasio-$(VERSION).tar.gz . # --------------------------------------------------------------------------------------------------------------------- ifneq ($(ARCH),) ifneq ($(M),) include Makefile.mk endif endif # ---------------------------------------------------------------------------------------------------------------------