Use $(wildcard) since we require gmake anyway.
This commit is contained in:
parent
c7c07068cd
commit
445ae0d752
47
Makefile
47
Makefile
|
@ -8,52 +8,7 @@
|
|||
|
||||
MODULE = contrib
|
||||
|
||||
SRCS = \
|
||||
cs_access_alias.c \
|
||||
cs_badwords.c \
|
||||
cs_fregister.c \
|
||||
cs_kickdots.c \
|
||||
cs_ping.c \
|
||||
cs_regmode.c \
|
||||
cs_regnotice.c \
|
||||
cs_updown.c \
|
||||
cs_userinfo.c \
|
||||
dnsbl.c \
|
||||
gen_echoserver.c \
|
||||
gen_listenerdemo.c \
|
||||
gen_vhostonreg.c \
|
||||
graphtastical.c \
|
||||
gs_roulette.c \
|
||||
ircd_announceserv.c \
|
||||
ircd_catserv.c \
|
||||
ms_fsend.c \
|
||||
ns_cleannick.c \
|
||||
ns_fenforce.c \
|
||||
ns_fregister.c \
|
||||
ns_forbid.c \
|
||||
ns_generatehash.c \
|
||||
ns_generatepass.c \
|
||||
ns_guestnoreg.c \
|
||||
ns_listlogins.c \
|
||||
ns_mxcheck.c \
|
||||
ns_mxcheck_async.c \
|
||||
ns_regnotice.c \
|
||||
ns_waitreg.c \
|
||||
on_db_save.c \
|
||||
os_akillnicklist.c \
|
||||
os_defcon.c \
|
||||
os_joinmon.c \
|
||||
os_kill.c \
|
||||
os_klinechan.c \
|
||||
os_modeall.c \
|
||||
os_pingspam.c \
|
||||
os_resolve.c \
|
||||
os_savechanmodes.c \
|
||||
os_tabletest.c \
|
||||
os_testcmd.c \
|
||||
os_testproc.c \
|
||||
os_trace.c \
|
||||
wumpus.c
|
||||
SRCS = $(wildcard *.c)
|
||||
|
||||
include ../../extra.mk
|
||||
include ../../buildsys.mk
|
||||
|
|
|
@ -7,7 +7,10 @@ or similar cases.
|
|||
|
||||
### Building other modules not included in this distribution
|
||||
|
||||
Use the `$SRCS` make variable to build and install modules.
|
||||
Just drop the file in here, and it will be built/installed.
|
||||
|
||||
Alternatively just to build a single module, use the `$SRCS`
|
||||
make variable to build and install modules.
|
||||
|
||||
```
|
||||
$ make SRCS=fileyouwanttocompile.c
|
||||
|
|
Loading…
Reference in New Issue