From b7b47e662a75096c7f99881b0d609731d5d6c8ce Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sun, 21 Nov 2021 00:10:29 +0100 Subject: First working version TODO: needs refactoring --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bfb3df5..b15cafb 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ cflags.debug := -Wall -o0 -g -DDEBUG=1 cflags.release := -os -s CFLAGS := ${cflags.${BUILD}} +LIBS := -lcups + test: main ./main @@ -13,5 +15,5 @@ clean: rm -f ./main %: - $(CC) $(CFLAGS) -o $@ $@.c + $(CC) $(CFLAGS) -o $@ *.c $(LIBS) -- cgit v1.2.3