moved raspberry and router gpio to pi_as_powerwitch on github
[svn42.git] / door_daemon / Makefile
index 7381adf..95ba1aa 100644 (file)
@@ -6,8 +6,9 @@
 ##  This file is part of door_daemon.
 ##
 ##  door_daemon is free software: you can redistribute it and/or modify
-##  it under the terms of the GNU General Public License version 3 as
-##  published by the Free Software Foundation.
+##  it under the terms of the GNU General Public License as published by
+##  the Free Software Foundation, either version 3 of the License, or
+##  any later version.
 ##
 ##  door_daemon is distributed in the hope that it will be useful,
 ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -25,12 +26,12 @@ endif
 EXECUTABLE := door_daemon
 
 OBJ := log.o \
-      sig_handler.o \
-      options.o \
-      string_list.o \
-      command_queue.o \
-      client_list.o \
-      door_daemon.o
+       sig_handler.o \
+       options.o \
+       string_list.o \
+       command_queue.o \
+       client_list.o \
+       door_daemon.o
 
 
 SRC := $(OBJ:%.o=%.c)
@@ -40,10 +41,10 @@ SRC := $(OBJ:%.o=%.c)
 all: $(EXECUTABLE)
 
 %.d: %.c
-       @set -e; rm -f $@; \
-        $(CC) -MM $(CFLAGS) $< > $@.$$$$; \
-   sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
-   rm -f $@.$$$$; echo '(re)building $@'
+       @set -e; rm -f $@;                                       \
+  $(CC) -MM $(CFLAGS) $< > $@.$$$$;                     \
+  sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@;   \
+  rm -f $@.$$$$; echo '(re)building $@'
 
 ifneq ($(MAKECMDGOALS),distclean)
 -include $(SRC:%.c=%.d)