diff options
author | notaz | 2011-09-03 00:58:39 +0300 |
---|---|---|
committer | notaz | 2011-09-03 01:05:41 +0300 |
commit | eac69717338922e6bb55076e57d7674080291fe9 (patch) | |
tree | 2e068c36f3c06b06ea9c349fdab222ee70e52335 /x86/Makefile | |
parent | ee0a3871f9982215361cd6bb4758eb9a7c7d8413 (diff) | |
download | picogpsp-eac69717338922e6bb55076e57d7674080291fe9.tar.gz picogpsp-eac69717338922e6bb55076e57d7674080291fe9.tar.bz2 picogpsp-eac69717338922e6bb55076e57d7674080291fe9.zip |
revive PC build, support Linux
Diffstat (limited to 'x86/Makefile')
-rw-r--r-- | x86/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x86/Makefile b/x86/Makefile index e0a5767..c9bf680 100644 --- a/x86/Makefile +++ b/x86/Makefile @@ -15,9 +15,9 @@ BIN ?= gpsp.exe # Platform specific definitions VPATH += .. -CFLAGS += -DPC_BUILD +CFLAGS += -DPC_BUILD -m32 INCLUDES = -I${PREFIX}/include `sdl-config --cflags` -LIBS = -L${PREFIX}/lib `sdl-config --libs` -mconsole -lz +LIBS = -L${PREFIX}/lib `sdl-config --libs` -mconsole -lz -m32 # Compilation: @@ -27,7 +27,7 @@ LIBS = -L${PREFIX}/lib `sdl-config --libs` -mconsole -lz ${CC} ${CFLAGS} ${INCLUDES} -c -o $@ $< %.o: %.S - ${AS} -o $@ $< + ${CC} ${CFLAGS} -c -o $@ $< all: ${OBJS} ${CC} ${OBJS} ${LIBS} -o ${BIN} |