summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2022-02-18 19:25:51 +0000
committerepoch <epoch@hack.thebackupbox.net>2022-02-18 19:25:51 +0000
commit4a64590196a02952c2e02b11d97109ede5bd277f (patch)
tree04bd08babda6992ecf2284315038a03a5841b165 /Makefile
parente13e0930a8c12a483dd8fa49c1d2209b3616acbd (diff)
downloadsegfault-master.tar.gz
segfault-master.zip
added spacifyHEADmaster
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/