deepstone

diff GNUmakefile @ 35:1870c4ef8b76

added visual studio project moved the dosemu directory
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Sep 2013 07:41:05 +0300
parents d0164235bfd1
children e234f2a4b6fa
line diff
     1.1 --- a/GNUmakefile	Mon Sep 23 05:58:24 2013 +0300
     1.2 +++ b/GNUmakefile	Mon Sep 23 07:41:05 2013 +0300
     1.3 @@ -2,13 +2,18 @@
     1.4  	  src/mingl.o src/mglrast.o src/mglclip.o src/mglgen.o \
     1.5  	  src/texture.o src/palman.o \
     1.6  	  src/scene.o src/cvec.o src/fixedp.o \
     1.7 -	  dosemu/dosemu.o
     1.8 +	  src/dosemu/dosemu.o
     1.9  dep = $(obj:.o=.d)
    1.10  bin = deepstone
    1.11  
    1.12 +dbg = -g
    1.13 +#opt = -O3 -ffast-math
    1.14 +
    1.15  CC = gcc
    1.16 -CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl` -Isrc -Idosemu $(add_cflags) -DRAST_FLOAT -DDBG_USE_FLOAT
    1.17 +CFLAGS = -pedantic -Wall $(dbg) $(opt) `pkg-config --cflags sdl` -Isrc -Idosemu $(add_cflags) -DRAST_FLOAT -DDBG_USE_FLOAT
    1.18  LDFLAGS = `pkg-config --libs sdl` -lm
    1.19 +#LDFLAGS = -Llib64 -Wl,-rpath=./lib64 -lSDL -lm
    1.20 +#LDFLAGS = -m32 -Llib32 -Wl,-rpath=./lib32 -lSDL-1.2 -lm
    1.21  
    1.22  ifeq ($(shell uname -s), Darwin)
    1.23  	add_cflags = -Dmain=SDL_main