summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2871beb15820fc1f8e070a3978941cf37c69fed1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 libirc/libirc.so /usr/local/lib
	cp -f libhashtable/libhashtable.so /usr/local/lib
#	cd libirc && $(MAKE) install
#	cd libhashtable && $(MAKE) install
	cp -f segfault /usr/local/bin/segfault