diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e6c38fb --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +LDFLAGS=-lirc -Llibirc +CFLAGS=-fpic -shared -pedantic -Wall +TARGET=libirc.so + +all: $(TARGET) + +$(TARGET): + $(CC) $(CFLAGS) -o $(TARGET) libirc.c + +clean: + rm -f libirc.so + +install: + cp $(TARGET) /usr/local/lib/$(TARGET) + cp irc.h /usr/local/include/irc.h |