diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-12 12:17:10 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-12 12:17:10 (GMT) |
commit | b1b45ac9f2e1c77f5f107f9959a8a6ba4759d99d (patch) | |
tree | 0c0e7dfe4a8721509cb45ecf724e9dde8be6afa9 /Makefile | |
parent | e03626e843d042ba464a05f284d9561c5560039c (diff) |
fixed include guards
small makefile cleanups
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -26,14 +26,14 @@ endif EXECUTABLE := switchctl OBJ := log.o \ - sig_handler.o \ - options.o \ - string_list.o \ - key_value_storage.o \ - command_queue.o \ - client_list.o \ - utils.o \ - switchctl.o + sig_handler.o \ + options.o \ + string_list.o \ + key_value_storage.o \ + command_queue.o \ + client_list.o \ + utils.o \ + switchctl.o SRC := $(OBJ:%.o=%.c) @@ -43,10 +43,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) |