From 71cab3986b9eb02c7b250a395701faae4b5c6b86 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 25 Jun 2023 20:27:21 +0200 Subject: Improve Makefile --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e917176..ca084fe 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,10 @@ -all: - go build server.go - ${CC} -O3 bilingual_sort.c -o bilingual_sort +all: bilingual_sort server + +bilingual_sort: bilingual_sort.c + ${CC} -O3 -o $@ $< + +server: server.go + go build $< clean: rm -f bilingual_sort server -- cgit v1.2.3