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