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:
5
Makefile
5
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 +=
|
||||
@@ -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:
|
||||
|
Reference in New Issue
Block a user