diff options
author | epochqwert <epoch@hacking.allowed.org> | 2018-12-29 21:36:41 +0000 |
---|---|---|
committer | epochqwert <epoch@hacking.allowed.org> | 2018-12-29 21:36:41 +0000 |
commit | 2a06696a6014824784e90095b5f679197639a715 (patch) | |
tree | e19d4c9cb404cd53b0cb98489f92f3717226e4df /Makefile | |
parent | f34863dddcb3c7edfb1ca34a40ee921b6c34aada (diff) | |
download | libirc-2a06696a6014824784e90095b5f679197639a715.tar.gz libirc-2a06696a6014824784e90095b5f679197639a715.zip |
changed recv to read and stuff
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -1,13 +1,16 @@ -LDFLAGS=-lirc -Llibirc -CFLAGS=-fpic -shared -pedantic -Wall +CFLAGS=-fpic -shared -pedantic -Wall -ggdb TARGET=libirc.so +PREFIX=/usr/local -all: libirc.c - $(CC) $(CFLAGS) -o $(TARGET) libirc.c +all: libirc.so + +$(TARGET): libirc.o + ld -shared -o $(TARGET) libirc.o clean: - rm -f libirc.so + rm -f $(TARGET) + rm *.o install: all - cp $(TARGET) /usr/local/lib/$(TARGET) - cp irc.h /usr/local/include/irc.h + cp $(TARGET) $(PREFIX)/lib/$(TARGET) + cp irc.h $(PREFIX)/include/irc.h |