diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 15:06:36 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 15:06:36 +0100 |
| commit | c7dbd68a3ae5f026c79f9ea23dcd5bb6694b713b (patch) | |
| tree | 8cea4cc969335f48e099233ecb35e581a69cffce /Makefile | |
| parent | TODO: support for 16:10 (diff) | |
| download | splashtool-c7dbd68a3ae5f026c79f9ea23dcd5bb6694b713b.tar.gz splashtool-c7dbd68a3ae5f026c79f9ea23dcd5bb6694b713b.tar.bz2 splashtool-c7dbd68a3ae5f026c79f9ea23dcd5bb6694b713b.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
@@ -22,19 +22,11 @@ TMPDIR = /tmp PKGNAME = splashtool -WARN = -Wall -Wextra -pedantic -Wformat=2 -Winit-self -Wmissing-include-dirs \ - -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \ - -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros \ - -Wswitch-default -Wconversion -Wcast-align -Wstrict-overflow \ - -Wdeclaration-after-statement -Wundef -Wcast-qual -Wbad-function-cast \ - -Wwrite-strings -Waggregate-return -Wpacked -Wstrict-prototypes \ - -Wold-style-definition -Wdouble-promotion -Wtrampolines \ - -Wsign-conversion -Wsync-nand -Wlogical-op \ - -Wvector-operation-performance -Wsuggest-attribute=const \ - -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure \ - -Wsuggest-attribute=format -Wnormalized=nfkc -Wunsafe-loop-optimizations +CC = gcc -std=gnu99 -FLAGS = -std=gnu99 -Ofast -lm $(WARN) +CPPFLAGS = +CFLAGS = +LDFLAGS = lm @@ -56,11 +48,11 @@ bin/splashtool: src/splashtool bin/assemble: obj/assemble.o @mkdir -p bin - $(CC) $(FLAGS) $(LDFLAGS) -o $@ $< + $(CC) -o $@ obj/assemble.o $(LDFLAGS) obj/assemble.o: src/assemble.c @mkdir -p obj - $(CC) $(FLAGS) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< + $(CC) -c -o $@ src/assemble.c $(CFLAGS) $(CPPFLAGS) .PHONY: doc doc: info pdf ps dvi |
