diff options
| author | Mike Pavone <pavone@retrodev.com> | 2013-04-21 19:12:48 -0700 |
|---|---|---|
| committer | Mike Pavone <pavone@retrodev.com> | 2013-04-21 19:12:48 -0700 |
| commit | 343579c0fa45a83b23f8d4cda54b309283046ef1 (patch) | |
| tree | b289ed404c29a9657d8ae7426a6c815ab5c2eefb /Makefile | |
| parent | 823288d1d0fd99e54b1cde0c975916a5f1030025 (diff) | |
Improve color rendering accuracy and optimize SDL renderer a bit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,9 @@ LIBS=sdl +ifdef DEBUG +CFLAGS=-ggdb -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -Wreturn-type -Werror=return-type +else +CFLAGS=-O2 -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -Wreturn-type -Werror=return-type +endif all : dis trans stateview blastem @@ -30,7 +35,7 @@ gen_fib : gen_fib.o gen_x86.o mem.o $(CC) -c -o $@ $< %.o : %.c - $(CC) -ggdb -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -c -Wreturn-type -Werror=return-type -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $< %.bin : %.s68 vasmm68k_mot -Fbin -m68000 -no-opt -spaces -o $@ $< |
