From e06a8d43e35cef26316f3a4fbfa74d14ab947a2e Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Wed, 15 Jun 2011 23:40:46 +0200 Subject: [PATCH] Make MODULE= PHONY, if we specify a module on the commandline, we usually want it rebuilt anyway. --- modules/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/Makefile b/modules/Makefile index e4e19db..1537ea3 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -5,6 +5,8 @@ OBJS = default.o OBJS += $(foreach mod,$(MODULE),$(mod).o) +SRCS = $(foreach mod,$(MODULE),$(mod).c) + ifndef MODULE ME_OBJ=$(USERNAME) @@ -59,6 +61,6 @@ clean: $(WRAPSRC): ./mkwrapper $(OBJS) > $@ -.PHONY: $(LIBFILE) $(WRAPSRC) +.PHONY: $(LIBFILE) $(WRAPSRC) $(SRCS) .SUFFIXES: