blob: 4e755c794b82d01f416681d749ec9b1c821fc6b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
libhack.so: libhack.o
ld -shared -o libhack.so libhack.o
again: clean all
segfault: segfault.c access.h
clean:
rm -f segfault
install: all
install segfault /usr/local/bin/
|