From cd9191b074ad1f0cc76375f535a2e487b0451532 Mon Sep 17 00:00:00 2001 From: pfero Date: Wed, 30 May 2018 22:53:12 +0200 Subject: 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. --- tools/Makefile | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tools') 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 $@ $< - -- cgit v1.2.3