Remove SDL2 frontend

This was rather ugly and was not ever the main focus. This allows us to
remove the now unneeded font resources and simplifies the build
process/project.
This commit is contained in:
tiehuis
2017-02-19 21:15:55 +13:00
committed by Marc Tiehuis
parent c065ab4657
commit 912afdfe05
4 changed files with 0 additions and 186 deletions

View File

@@ -1,6 +1,4 @@
CC ?= clang
TTF_FONT_PATH ?= res/Anonymous Pro.ttf
CFLAGS += -DTTF_FONT_PATH="\"$(TTF_FONT_PATH)\""
CFLAGS += -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra
CFLAGS += -DINVERT_COLORS -DVT100 -O2
LFLAGS +=
@@ -18,9 +16,6 @@ curses: $(FILTERED_C_FILES) src/gfx_curses.c
terminal: $(FILTERED_C_FILES) src/gfx_terminal.c
$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_terminal.c -o $(PROGRAM) $(LDFLAGS)
sdl: $(FILTERED_C_FILES) src/gfx_sdl.c
$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_sdl.c -o $(PROGRAM) $(shell pkg-config --cflags sdl2) $(LDFLAGS) -lSDL2 -lSDL2_ttf
remake: clean all
clean: