From c1f5272073d27874427781e9686d33ee38197c7b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 18 Oct 2018 22:46:38 +0200 Subject: Makefile generischer --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b85b5ab..80351fb 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ -test: test.c - gcc -o test test.c +%: %.c + gcc -o "$@" "$<" -- cgit v1.2.3-70-g09d2