mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-05 06:41:55 +03:00
fb8dc89b4d
git-svn-id: svn://kolibrios.org@1029 a494cfbc-eb01-0410-851d-a64ba20cac60
33 lines
712 B
Makefile
33 lines
712 B
Makefile
|
|
CC = gcc
|
|
FASM = e:/fasm/fasm.exe
|
|
CFLAGS = -c -O2 -fomit-frame-pointer -fno-builtin-printf
|
|
LDRHD = -shared -T ld.x -s --file-alignment 32
|
|
|
|
INCLUDES = -I ../../include
|
|
|
|
HFILES:= ../../include/types.h \
|
|
../../include/syscall.h \
|
|
agp.h
|
|
|
|
SRC_DEP:= pci.inc \
|
|
detect.inc \
|
|
isoch.inc
|
|
|
|
AGP_SRC:= agp.c
|
|
|
|
|
|
AGP = agp.dll
|
|
|
|
all: $(AGP)
|
|
|
|
$(AGP): agp.obj $(SRC_DEP) $(HFILES) Makefile
|
|
wlink name agp.dll SYS nt_dll lib libdrv op offset=0 op nod op maxe=25 op el op STUB=stub.exe op START=_drvEntry @agp.lk
|
|
kpack.exe agp.dll agp.drv
|
|
|
|
agp.obj : agp.c $(SRC_DEP) $(HFILES) Makefile
|
|
$(CC) $(INCLUDES) $(CFLAGS) -o agp.obj agp.c
|
|
|
|
|
|
|