Skip to content
Snippets Groups Projects
Commit b536cbd6 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

revised disis build system using kluge to get it to compile on OSX

parent b91a6de9
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -537,8 +537,8 @@ ifeq ($(system), Darwin) ...@@ -537,8 +537,8 @@ ifeq ($(system), Darwin)
arch.ld.flags := -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4 arch.ld.flags := -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4
endif endif
ifeq ($(machine), x86_64) ifeq ($(machine), x86_64)
arch.c.flags := -arch i386 -arch x86_64 -mmacosx-version-min=10.5 arch.c.flags := -arch x86_64 -mmacosx-version-min=10.5
arch.ld.flags := -arch i386 -arch x86_64 -mmacosx-version-min=10.5 arch.ld.flags := -arch x86_64 -mmacosx-version-min=10.5
endif endif
endif endif
......
...@@ -22,13 +22,9 @@ CWIID_LIB_STATIC= $(CWIID_PATH)/libcwiid/libcwiid.a ...@@ -22,13 +22,9 @@ CWIID_LIB_STATIC= $(CWIID_PATH)/libcwiid/libcwiid.a
CWIID_INCLUDE = -I$(CWIID_PATH)/libcwiid CWIID_INCLUDE = -I$(CWIID_PATH)/libcwiid
cflags = $(CWIID_INCLUDE) cflags = $(CWIID_INCLUDE)
define forDarwin
disis_wiimote.class.sources = disis_wiimote.c
disis_wiimote.class.ldlibs = $(CWIID_LIB_STATIC) -lbluetooth -lpthread
endef
define forLinux define forLinux
disis_wiimote.class.sources = disis_wiimote.c disis_wiimote.class.sources = disis_wiimote.c
disis_wiimote.class.ldlibs = $(CWIID_LIB_STATIC) -lbluetooth -lpthread disis_wiimote.class.ldlibs = $(CWIID_LIB_STATIC) -lbluetooth -lpthread
endef endef
include Makefile.pdlibbuilder include Makefile.pdlibbuilder.revised
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment