mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
link: make xlink compile for Linux
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
8
src/link/Makefile
Normal file
8
src/link/Makefile
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
all: xlink
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
gcc -Wall -I. -I.. -Iinclude -g -c -o $@ $<
|
||||||
|
|
||||||
|
xlink: $(patsubst %.c,%.o,$(wildcard *.c))
|
||||||
|
gcc -Wall -o $@ $^
|
||||||
|
|
||||||
Reference in New Issue
Block a user