joeylib2/tools/stsim/Makefile

11 lines
397 B
Makefile

# Host build of the Space Taxi simulation core for trace comparison.
ST := ../../examples/spacetaxi
CC ?= gcc
CFLAGS := -O1 -g -Wall -Wextra -std=c99 -I$(ST)
SRCS := stsim.c $(ST)/stSim.c $(ST)/stFare.c $(ST)/stHooks.c $(ST)/stLevelFile.c $(ST)/stTitle.c $(ST)/stC64Data.c
stsim: $(SRCS) $(ST)/stSim.h $(ST)/stC64Data.h $(ST)/stDemoStreams.h
$(CC) $(CFLAGS) $(SRCS) -o $@
clean:
rm -f stsim