Rev 1028 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1028 | Rev 1029 | ||
---|---|---|---|
1 | CC = gcc |
1 | CC = gcc |
2 | FASM = e:/fasm/fasm.exe |
2 | FASM = e:/fasm/fasm.exe |
3 | CFLAGS = -c -O2 -fomit-frame-pointer -fno-builtin-printf |
3 | CFLAGS = -c -O2 -fomit-frame-pointer -fno-builtin-printf |
4 | LDRHD = -shared -T ld.x -s --file-alignment 32 |
4 | LDRHD = -shared -T ld.x -s --file-alignment 32 |
5 | 5 | ||
6 | INCLUDES = -I ../include |
6 | INCLUDES = -I ../../include |
7 | 7 | ||
8 | HFILES:= ../include/types.h \ |
8 | HFILES:= ../../include/types.h \ |
9 | ../include/syscall.h \ |
9 | ../../include/syscall.h \ |
10 | geode.h \ |
10 | ../../include/pci.h \ |
11 | pci.h |
11 | geode.h |
12 | 12 | ||
13 | SRC_DEP:= |
13 | SRC_DEP:= |
14 | GEODE_SRC:= amd_geode.h |
14 | GEODE_SRC:= amd_geode.h |
15 | 15 | ||
16 | NAME:= geode |
16 | NAME:= geode |
17 | GEODE:= geode.dll |
17 | GEODE:= geode.dll |
18 | 18 | ||
19 | all: $(GEODE) |
19 | all: $(GEODE) |
20 | 20 | ||
21 | $(GEODE): geode.obj $(SRC_DEP) $(HFILES) Makefile |
21 | $(GEODE): geode.obj $(SRC_DEP) $(HFILES) Makefile |
22 | wlink name $(GEODE) SYS nt_dll lib libdrv op offset=0 op nod op maxe=25 op el op STUB=stub.exe op START=_drvEntry @$(NAME).lk |
22 | wlink name $(GEODE) SYS nt_dll lib libdrv op offset=0 op nod op maxe=25 op el op STUB=stub.exe op START=_drvEntry @$(NAME).lk |
23 | kpack.exe geode.dll geode.drv |
23 | kpack.exe geode.dll geode.drv |
24 | 24 | ||
25 | geode.obj : geode.c $(SRC_DEP) $(HFILES) Makefile |
25 | geode.obj : geode.c $(SRC_DEP) $(HFILES) Makefile |
26 | $(CC) $(INCLUDES) $(CFLAGS) -o geode.obj geode.c |
26 | $(CC) $(INCLUDES) $(CFLAGS) -o geode.obj geode.c |