From f5c8e31e744a120a580e28f8981f79bfbf255a1b Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 15 Mar 2014 03:18:49 -0500 Subject: experimental Makefiles. --- Makefile | 9 +++++++++ libirc/Makefile | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Makefile create mode 100644 libirc/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0806b5d --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +LDFLAGS=-lirc -Llibirc +CFLAGS=-pedantic -Wall + +all: + cd libirc && $(MAKE) + $(MAKE) segfault + +clean: + rm -f segfault diff --git a/libirc/Makefile b/libirc/Makefile new file mode 100644 index 0000000..2ed3299 --- /dev/null +++ b/libirc/Makefile @@ -0,0 +1,11 @@ +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 -- cgit v1.2.3