-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 752 Bytes
/
Makefile
File metadata and controls
32 lines (23 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Makefile for src/mod/stats.mod/
doofus:
@echo ""
@echo "Let's try this from the right directory..."
@echo ""
@cd ../../../; make
clean:
@rm -f *.o *.$(MOD_EXT) *~
static: ../stats.o
modules: ../../../stats.$(MOD_EXT)
../stats.o: ../module.h ../modvals.h ../../eggdrop.h \
egg_chancontrol.c pubcmds.c \
core/sensors.c core/datahandling.c core/global_vars.c core/schan_members.c \
stats.c tclstats.c core/misc.c core/dynamic_mem_debug.c core/userrec.c stats.h
$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c stats.c
rm -f ../stats.o
mv stats.o ../
../../../stats.$(MOD_EXT): ../stats.o
$(LD) -o ../../../stats.$(MOD_EXT) ../stats.o $(XLIBS)
core: core.o
core.o: core/core.c
gcc -pipe -g -O2 -I. -g3 -DNO_EGG core/core.c
#safety hash