summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4e755c7..9d4e4d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
PREFIX:=/usr/local
-LDFLAGS=-L/usr/local/lib -L$(PREFIX)/lib -lirc -lhashtable -lgcc_s -lidc -ldl
CFLAGS=-pedantic -Wall -ggdb -I/usr/local/include -I$(PREFIX)/include
-all: segfault libhack.so
+all: segfault libhack.so spacify
libhack.so: libhack.o
ld -shared -o libhack.so libhack.o
again: clean all
+segfault: LDFLAGS=-L/usr/local/lib -L$(PREFIX)/lib -lirc -lhashtable -lgcc_s -lidc -ldl
segfault: segfault.c access.h
clean:
@@ -16,3 +16,4 @@ clean:
install: all
install segfault /usr/local/bin/
+ install spacify /usr/local/bin/