Mercurial > repos > blastem
comparison Makefile @ 229:d60837a7d18a
Improve color rendering accuracy and optimize SDL renderer a bit
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 21 Apr 2013 19:12:48 -0700 |
parents | 3457dc6fd558 |
children | d9bf8e61c33c |
comparison
equal
deleted
inserted
replaced
228:1ed81ef2a3a2 | 229:d60837a7d18a |
---|---|
1 LIBS=sdl | 1 LIBS=sdl |
2 ifdef DEBUG | |
3 CFLAGS=-ggdb -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -Wreturn-type -Werror=return-type | |
4 else | |
5 CFLAGS=-O2 -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -Wreturn-type -Werror=return-type | |
6 endif | |
2 | 7 |
3 all : dis trans stateview blastem | 8 all : dis trans stateview blastem |
4 | 9 |
5 blastem : blastem.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o vdp.o render_sdl.o | 10 blastem : blastem.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o vdp.o render_sdl.o |
6 $(CC) -o blastem blastem.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o vdp.o render_sdl.o `pkg-config --libs $(LIBS)` | 11 $(CC) -o blastem blastem.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o vdp.o render_sdl.o `pkg-config --libs $(LIBS)` |
28 | 33 |
29 %.o : %.S | 34 %.o : %.S |
30 $(CC) -c -o $@ $< | 35 $(CC) -c -o $@ $< |
31 | 36 |
32 %.o : %.c | 37 %.o : %.c |
33 $(CC) -ggdb -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -c -Wreturn-type -Werror=return-type -o $@ $< | 38 $(CC) $(CFLAGS) -c -o $@ $< |
34 | 39 |
35 %.bin : %.s68 | 40 %.bin : %.s68 |
36 vasmm68k_mot -Fbin -m68000 -no-opt -spaces -o $@ $< | 41 vasmm68k_mot -Fbin -m68000 -no-opt -spaces -o $@ $< |
37 | 42 |
38 %.bin : %.sz8 | 43 %.bin : %.sz8 |