summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2016-06-03 06:33:04 +0000
committerepochqwert <epoch@hacking.allowed.org>2016-06-03 06:33:04 +0000
commitdbb59020a4f9dad43b366930d1d5d99da33e57e1 (patch)
treebae7a239905c0df3a89c7e4a233b3c49e032af24
parent7ca650030f3f122a26084b92398b52744b3d0dfd (diff)
downloadlibirc-dbb59020a4f9dad43b366930d1d5d99da33e57e1.tar.gz
libirc-dbb59020a4f9dad43b366930d1d5d99da33e57e1.zip
makefile now actually rebuild libirc.so if libirc.c is changed.
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 26490c5..a9e24d1 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,7 @@ LDFLAGS=-lirc -Llibirc
CFLAGS=-fpic -shared -pedantic -Wall
TARGET=libirc.so
-all: $(TARGET)
-
-$(TARGET):
+all: libirc.c
$(CC) $(CFLAGS) -o $(TARGET) libirc.c
clean: