From 25b3bc0057a2a47cbd5d7d983024681d0f86f009 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 18 Oct 2004 03:55:33 +0000 Subject: got the input event array going svn path=/trunk/externals/hcs/hid/; revision=2116 --- Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..dc8be9d --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +CC=gcc + +all: input_arrays pd_darwin + +pd_darwin: hid.pd_darwin macosxhid.pd_darwin + +clean: ; rm -f *.pd_darwin *.o *~ input_arrays.h + +# ----------------------- DARWIN i386 ----------------------- + +.SUFFIXES: .pd_darwin + +PDEXECUTABLE = ../../../pd/bin/pd + +CFLAGS = -DUNIX -DPD -O2 -funroll-loops -fomit-frame-pointer \ + -Wall -W -Wshadow -Wstrict-prototypes -Werror \ + -Wno-unused -Wno-parentheses -Wno-switch + +INCLUDE = -I../ -I../../../pd/src -I/usr/local/include -I./HID\ Utilities\ Source + +LDFLAGS = -bundle -bundle_loader $(PDEXECUTABLE) -L/sw/lib + +.c.pd_darwin: + $(CC) $(CFLAGS) $(INCLUDE) -o $*.o -c $*.c + $(CC) $(LDFLAGS) -o "$*.pd_darwin" "$*.o" -lc -lm + +input_arrays: + ./make-arrays-from-input.h.pl > input_arrays.h -- cgit v1.2.1