summaryrefslogtreecommitdiff
path: root/packages/horizon/files/makefile.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-08-30 11:15:50 +0000
committerKoen Kooi <koen@openembedded.org>2006-08-30 11:15:50 +0000
commitd3be917a564f3aee7ee7ad8e09e9edab7929867a (patch)
tree8df8e375d141fc7923de7eb6f781b4cd7f3e4b25 /packages/horizon/files/makefile.patch
parentb0e7d9796b0affcd3bf49987f4965a527cb0e5a9 (diff)
horizon: add cvs version of this cool sketch toy
* still has /media/mmc1/horizon hardcoded
Diffstat (limited to 'packages/horizon/files/makefile.patch')
-rw-r--r--packages/horizon/files/makefile.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/horizon/files/makefile.patch b/packages/horizon/files/makefile.patch
new file mode 100644
index 0000000000..33f341ef08
--- /dev/null
+++ b/packages/horizon/files/makefile.patch
@@ -0,0 +1,34 @@
+--- /tmp/Makefile 2006-08-30 12:51:56.000000000 +0200
++++ horizon/src/Makefile 2006-08-30 12:53:03.025780000 +0200
+@@ -2,12 +2,11 @@
+
+ all: .depend $(BINARY)
+
+-CFLAGS = -g -O2 -Wall -Werror \
+- -I/usr/X11R6/include \
++HCFLAGS = -g -O2 -Wall -Werror \
+ `sdl-config --cflags` \
+ `pkg-config --cflags glib-2.0 gobject-2.0 libpng` \
+ -I.
+-LDFLAGS = -L/usr/X11R6/lib -lX11 \
++HLDFLAGS = -lX11 \
+ `sdl-config --libs` \
+ `pkg-config --libs glib-2.0 gobject-2.0 libpng` \
+ -ljpeg
+@@ -16,7 +15,7 @@
+ OBJS = $(CFILES:.c=.o)
+
+ $(BINARY): $(OBJS)
+- $(CC) *.o */*.o -o $@ $(LDFLAGS)
++ $(CC) *.o */*.o -o $@ $(LDFLAGS) $(HLDFLAGS)
+
+ clean:
+ rm -f $(OBJS) $(BINARY) *.o *~ */*~ */*/*~ .depend
+@@ -35,6 +34,6 @@
+ ./$(BINARY) /tmp/horizon
+
+ .depend: *.[ch] */*.[ch]
+- $(CC) -M $(CFLAGS) */*.c *.c > .depend
++ $(CC) -M $(CFLAGS) $(HCFLAGS) */*.c *.c > .depend
+
+ include .depend