From 316e9ea0a1c6d23f1a69788747cbeb6d868749f5 Mon Sep 17 00:00:00 2001 From: horus_arch Date: Fri, 9 Sep 2016 12:34:11 +0200 Subject: Removes clutter from Makefile. --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9454c8a..31e0661 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,9 @@ -LEX := flex -LFLAGS := -CC := gcc -CFLAGS := -Wall -pedantic APP := uhttpd -all: clean urlscanner.o scanner.go - go build -o $(APP) +all: clean build -urlscanner.o: urlscanner.h +build: + go build -o $(APP) clean: - $(RM) $(RMFLAGS) *.o $(APP) *.exe + $(RM) $(RMFLAGS) $(APP) *.exe -- cgit v1.2.3