First working SDL version with lots of keyboard improvements
[virtual-nascom.git] / Makefile
blob071f5b8b77c5cb66d07257a5ae4333ac6aa1dfa6
1 # Makefile for VirtualNascom
3 # CC must be an ANSI-C compiler
4 CC = gcc
6 # full speed or debugging to taste
7 #OPTIMIZE = -O2
8 OPTIMIZE = -g
9 WARN = -Wmost -Werror
10 CFLAGS = $(OPTIMIZE) $(WARN) $(shell sdl-config --cflags)
12 LIBS =-lXpm -lXt -lX -lm
14 ###### you should not need to change anything below this line ######
15 CWARN = -ansi -pedantic -Wall -Wshadow \
16 -Wpointer-arith -Wnested-externs -Winline
18 sdl-nascom: sdl-nascom.o font.o simz80.o
19 $(CC) $(shell sdl-config --libs) $^ -o $@
21 clean:; rm -f *.o *~ core