aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/prog.mk4
-rw-r--r--src/so.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/prog.mk b/src/prog.mk
index e4473184f..ba089d39d 100644
--- a/src/prog.mk
+++ b/src/prog.mk
@@ -3,10 +3,10 @@
3# Note: $(ROOT)/config.mk must be included before this file. 3# Note: $(ROOT)/config.mk must be included before this file.
4# 4#
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 MOD_HDRS, MOD_SRCS, MOD_OBJS, TOCLEAN and TODISTCLEAN. 6# define MOD_HDRS, MOD_OBJS, TOCLEAN and TODISTCLEAN.
7 7
8HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) 8HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS)
9SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) 9SRCS := $(sort $(wildcard *.c))
10OBJS := $(SRCS:.c=.o) $(MOD_OBJS) 10OBJS := $(SRCS:.c=.o) $(MOD_OBJS)
11 11
12PROG_CFLAGS = \ 12PROG_CFLAGS = \
diff --git a/src/so.mk b/src/so.mk
index e464a7bff..0ba406c85 100644
--- a/src/so.mk
+++ b/src/so.mk
@@ -3,10 +3,10 @@
3# Note: $(ROOT)/config.mk must be included before this file. 3# Note: $(ROOT)/config.mk must be included before this file.
4# 4#
5# The includer should probably define SO and TARGET and may also want to define 5# The includer should probably define SO and TARGET and may also want to define
6# MOD_HDRS, MOD_SRCS, MOD_OBJS, TOCLEAN and TODISTCLEAN. 6# MOD_HDRS, MOD_OBJS, TOCLEAN and TODISTCLEAN.
7 7
8HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) 8HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS)
9SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) 9SRCS := $(sort $(wildcard *.c))
10OBJS := $(SRCS:.c=.o) $(MOD_OBJS) 10OBJS := $(SRCS:.c=.o) $(MOD_OBJS)
11 11
12SO_CFLAGS = \ 12SO_CFLAGS = \