projects
/
gbajam22
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing tools/pngdump to the repo
[gbajam22]
/
Makefile.pc
diff --git
a/Makefile.pc
b/Makefile.pc
index
14c7d41
..
208175a
100644
(file)
--- a/
Makefile.pc
+++ b/
Makefile.pc
@@
-1,10
+1,10
@@
src = $(wildcard src/*.c) $(wildcard src/pc/*.c)
src = $(wildcard src/*.c) $(wildcard src/pc/*.c)
-ssrc = data/lut.s
+ssrc = $(wildcard src/*.s) data/lut.s
obj = $(src:.c=.o) $(ssrc:.s=.o)
dep = $(src:.c=.d)
bin = gbajam22
obj = $(src:.c=.o) $(ssrc:.s=.o)
dep = $(src:.c=.d)
bin = gbajam22
-opt = -O0 -fno-strict-aliasing
+opt = -O0 -fno-strict-aliasing -fcommon
dbg = -g
inc = -I. -Isrc -Isrc/gba
warn = -pedantic -Wall
dbg = -g
inc = -I. -Isrc -Isrc/gba
warn = -pedantic -Wall
@@
-18,7
+18,7
@@
sys = $(shell uname -s | sed 's/MINGW.*/mingw/')
ifeq ($(sys), mingw)
libs = -lopengl32 -lwinmm
else
ifeq ($(sys), mingw)
libs = -lopengl32 -lwinmm
else
- libs = -lGL
+ libs = -lGL -lX11 -lXext
endif
endif