Makefile
changeset 76 c46968bddef5
parent 74 829976007e62
child 86 86b83a979d9e
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@
 TARGET += unicode
 TARGET += fts
 TARGET += clplaner
+TARGET += daemon
 
 .SUFFIXES: .c .cc .asm
 
@@ -291,20 +292,20 @@
 	@$(CC) -o $@ $<
 
 unicode: unicode.c
-	@echo Compiling $<...
-	@$(CC) -c $(CFLAGS) -std=c99 $<
-	@echo Linking $< ...
-	@$(CC) -std=c99 -o $@ $<
+	@echo Linking $<...
+	@$(CC) $(CFLAGS) -std=c99 -o $@ $<
 
 fts: fts.c
-	@echo Compiling \(NON-ANSI\) $<...
-	@$(CC) -c -Wall -O2 $<
 	@echo Linking $< ...
+	@$(CC) -Wall -O2 $< -o $@
+
+clplaner: clplaner.o
+	@echo Linking $<...
 	@$(CC) -o $@ $<
 
-clplaner: clplaner.o
-	@echo Compiling $<...
-	@$(CC) -o $@ $<
+daemon: daemon.c
+	@echo Linking $<...
+	@$(CC) -Wall -O2 -g -ggdb $< -o $@
 
 .PHONY: beauty clean uninstall