diff options
| author | Jens Schweikhardt <schweikh@schweikhardt.net> | 2025-08-20 19:41:47 +0200 |
|---|---|---|
| committer | Jens Schweikhardt <schweikh@schweikhardt.net> | 2025-08-20 19:41:47 +0200 |
| commit | b0b86a30e09c91118e8e87a4fcbfbd94f53150ca (patch) | |
| tree | 7779905d915adec4a0ecd6b2e86f3f6ef731546f /GNUmakefile | |
| parent | 10de195f77469919b3cb9aa5b80f554aaecab964 (diff) | |
Complete Specials. Implement srctohex in C.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 93e8654..9b9f2de 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -9,20 +9,22 @@ unexport C_INCLUDE_PATH # Remove from shell environment; confuses gcc. export LANG = C export LC_ALL = C -TOP_LEVEL_TARGETS = lscp tsttopng gallant.bdf gallant.fnt +TOP_LEVEL_TARGETS = lscp tsttopng gallant.bdf gallant.fnt srctohex .PHONY: all all: $(TOP_LEVEL_TARGETS) lscp: lscp.o +srctohex: srctohex.o + tsttopng: tsttopng.o gallant.bdf: gallant.hex ./hex2bdf.pl $^ > $@ gallant.hex: gallant.src - ./src2hex.pl < $^ > $@ + ./srctohex < $^ > $@ gallant.fnt: gallant.hex vtfontcvt -v -o $@ $^ @@ -44,10 +46,11 @@ APP_WARNS += -Wcast-align APP_WARNS += -Wcast-qual APP_WARNS += -Wfloat-equal APP_WARNS += -Wformat=2 +APP_WARNS += -Wno-format-nonliteral APP_WARNS += -Winline APP_WARNS += -Wstrict-prototypes APP_WARNS += -Wmissing-prototypes -APP_WARNS += -Wunused +APP_WARNS += -Wno-unused APP_WARNS += -Wold-style-definition APP_WARNS += -Wpedantic APP_WARNS += -Wpointer-arith @@ -67,6 +70,9 @@ APP_LIBDIRS = -L /usr/local/lib lscp: lscp.o $(CC) -o $@ $(APP_LIBDIRS) -luninameslist -lunistring $^ +srctohex: srctohex.o + $(CC) -o $@ $^ + txttopng: txttopng.o $(CC) -o $@ $(APP_LIBDIRS) -lpng $^ |
