From 20775b82e008544d0180a950073dbbacf282701a Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 9 Mar 2023 04:21:16 +0100 Subject: [PATCH] .gitignore and Makefile update. --- .gitignore | 3 +++ Makefile | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c1df676..c50cbc0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ local/ spacetray *~ +# CLion +.idea/ + # Prerequisites *.d diff --git a/Makefile b/Makefile index bdf938f..b331f3b 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,8 @@ - -all: spacetray - -spacetray: spacetray.c +all: $(CC) -Wall -g `pkg-config --cflags --libs gtk+-2.0 --libs libcurl --libs json-c --libs libnotify` -DLIBNOTIFY -o spacetray spacetray.c -nonotify: spacetray.c +nonotify: $(CC) -Wall -g `pkg-config --cflags --libs gtk+-2.0 --libs libcurl --libs json-c` -o spacetray spacetray.c clean: rm -f spacetray -