X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=door_daemon%2FMakefile;h=95ba1aabd2040fcfc41f90c98ddc5547901aa723;hp=adf4bfd7c58bbffab3c162f709bc29f8fe58b7ed;hb=4ee2501ff864b8e15202ee814e8bafcc0c2adf6c;hpb=6773f3ff20c2826dc0f32e4d20b73572769f6e40 diff --git a/door_daemon/Makefile b/door_daemon/Makefile index adf4bfd..95ba1aa 100644 --- a/door_daemon/Makefile +++ b/door_daemon/Makefile @@ -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,8 +26,12 @@ endif EXECUTABLE := door_daemon OBJ := log.o \ - sig_handler.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) @@ -36,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) @@ -56,7 +61,6 @@ distclean: clean find . -name *.o -exec rm -f {} \; find . -name "*.\~*" -exec rm -rf {} \; rm -f include.mk - rm -f tun.c clean: rm -f *.o