blob: 947589a758c0ce7f9e552fb8f29ff5df0112a7ab [file] [log] [blame] [raw]
CXXFLAGS += -Wall -Werror=sequence-point -Os -fno-common
LIBS += -l m
ifdef USE_SDL2
CXXFLAGS += -D USE_SDL2=2
LIBS += -l SDL2
else
LIBS += -l SDL
endif
OBJECTS := Audio.o AudioSDL.o CbmTune.o Cpu.o Filter.o Sid.o Tedmem.o Tedsound.o main.o tedplay.o
tedplay: $(OBJECTS)
$(CXX) $(LDFLAGS) $^ -o $@ $(LIBS)
clean:
rm -f tedplay $(OBJECTS)