about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9f78a580..2ede9526 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
 .PHONY: all clean
 
-all:
-	make -C src
-clean:
-	make -C src clean
+all: src/ngircd/ngircd
+
+.c.o:
+	# ${CC} ${CFLAGS} ${CPPFLAGS} -c -o "`echo $< | sed 's/.$$//'`o" $<
+	${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $<
+
+include src/Makefile