summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorpfero <ohpee@loves.dicksinhisan.us>2018-05-30 22:53:12 +0200
committerpfero <ohpee@loves.dicksinhisan.us>2018-05-30 22:53:59 +0200
commitcd9191b074ad1f0cc76375f535a2e487b0451532 (patch)
treee11e3f8d679217ac4ecd747de6c06edad4cc6e86 /tools
parent9ab9ea4ab59cc3c226a7fe15b4fcc92b4af57243 (diff)
Clean up Makefile
This makefile can now figure graphics dependencies on its own, creates dependency files for each compilation unit and compiles everything separately. This is a proposal. Please try it out, read the Makefile to see if you get what I'm trying to do, and propose any improvements you want.
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/Makefile b/tools/Makefile
index accee0f..8a9a284 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,6 +1,5 @@
.PHONY: all clean
-CC := gcc
CFLAGS := -O3 -std=c99 -Wall -Wextra
tools := \
@@ -9,11 +8,6 @@ tools := \
gfx
all: $(tools)
- @:
clean:
rm -f $(tools)
-
-%: %.c
- $(CC) $(CFLAGS) -o $@ $<
-