shithub: rgbds

Download patch

ref: 4d06e6de796e9e96f03f419b976bbc3dc19d2afe
parent: c31b87b16a9e96c2156ebc6c89e07bac86c10094
author: Vegard Nossum <[email protected]>
date: Thu Jun 11 02:56:20 EDT 2009

link: make xlink compile for Linux

Signed-off-by: Vegard Nossum <[email protected]>

--- /dev/null
+++ b/src/link/Makefile
@@ -1,0 +1,8 @@
+all: xlink
+
+.c.o:
+	gcc -Wall -I. -I.. -Iinclude -g -c -o $@ $<
+
+xlink: $(patsubst %.c,%.o,$(wildcard *.c))
+	gcc -Wall -o $@ $^
+