Skip to content

Commit

Permalink
Remove SDL2 frontend
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tiehuis committed Aug 11, 2017
1 parent c065ab4 commit 912afdf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 186 deletions.
5 changes: 0 additions & 5 deletions Makefile
@@ -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 +=
Expand All @@ -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:
Expand Down
Binary file removed res/Anonymous Pro.ttf
Binary file not shown.
Binary file removed res/NotCourierSans.ttf
Binary file not shown.
181 changes: 0 additions & 181 deletions src/gfx_sdl.c

This file was deleted.

0 comments on commit 912afdf

Please sign in to comment.