diff options
Diffstat (limited to 'src/prog.mk')
-rw-r--r-- | src/prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prog.mk b/src/prog.mk index b7ac59785..7797f56b6 100644 --- a/src/prog.mk +++ b/src/prog.mk | |||
@@ -5,8 +5,8 @@ | |||
5 | # The includer should probably define PROG and TARGET and may also want to | 5 | # The includer should probably define PROG and TARGET and may also want to |
6 | # define EXTRA_HDRS and EXTRA_OBJS and extend CLEANFILES. | 6 | # define EXTRA_HDRS and EXTRA_OBJS and extend CLEANFILES. |
7 | 7 | ||
8 | HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS) | 8 | HDRS := $(sort $(wildcard $(MOD_DIR)/*.h)) $(EXTRA_HDRS) |
9 | SRCS := $(sort $(wildcard *.c)) | 9 | SRCS := $(sort $(wildcard $(MOD_DIR)/*.c)) |
10 | OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS) | 10 | OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS) |
11 | 11 | ||
12 | .PHONY: all | 12 | .PHONY: all |