summaryrefslogtreecommitdiff
path: root/Makefile
blob: d1db303d1a6148b0358c8e8fed3dc6078fa7fdd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LDFLAGS=-lirc -Llibirc -lhashtable -Llibhashtable
CFLAGS=-std=c99 -pedantic -Wall

all:
	cd libirc && $(MAKE)
	cd libhashtable && $(MAKE)
	$(MAKE) segfault

clean:
	cd libirc && $(MAKE) clean
	cd libhashtable && $(MAKE) clean
	rm -f segfault

install:
	cp -f libhashtable/libhashtable.so /usr/local/lib/
	cp -f libirc/libirc.so /usr/local/lib/
	cp -f segfault /usr/local/bin/segfault