Little change to make version resource linked in ne2000.sys.

svn path=/trunk/; revision=1349
This commit is contained in:
Emanuele Aliberti 2000-09-10 20:00:13 +00:00
parent f6975e3ad4
commit e7a0c9b4eb
3 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1 2000/08/27 16:35:04 chorns Exp $
# $Id: Makefile,v 1.2 2000/09/10 20:00:13 ea Exp $
#
# NE2000.SYS build spec
#
@ -8,7 +8,7 @@ TARGETNAME=ne2000
BASE_CFLAGS = -I./include -I../../../../include -DNDIS_MINIPORT_DRIVER
RESOURCE_OBJECT = $(TARGETNAME).coff
NE2000_OBJECTS = ne2000/main.o ne2000/8390.o
NE2000_OBJECTS = ne2000/main.o ne2000/8390.o $(RESOURCE_OBJECT)
IMPORT_LIBS = ../../ndis/ndis.a ../../../../ntoskrnl/ntoskrnl.a
@ -22,7 +22,7 @@ objects/ne2000.o: $(NE2000_OBJECTS)
OBJECTS = objects/ne2000.o
$(TARGETNAME).coff: $(TARGETNAME).rc ../../../include/reactos/resource.h
$(TARGETNAME).coff: $(TARGETNAME).rc ../../../../include/reactos/resource.h
ifeq ($(DOSCLI),yes)
CLEAN_FILES = \

View file

@ -8,7 +8,8 @@ RESOURCE_OBJECT = $(TARGETNAME).coff
NDIS_OBJECTS = ndis/main.o ndis/40gone.o ndis/50gone.o ndis/buffer.o ndis/cl.o \
ndis/cm.o ndis/co.o ndis/control.o ndis/hardware.o \
ndis/io.o ndis/memory.o ndis/miniport.o \
ndis/protocol.o ndis/string.o ndis/stubs.o ndis/time.o
ndis/protocol.o ndis/string.o ndis/stubs.o ndis/time.o \
$(TARGETNAME).coff
all: objects $(TARGETNAME).sys

View file

@ -86,7 +86,11 @@ AS = $(PREFIX)gcc -c -x assembler-with-cpp -D__ASM__ $(AS_BASEFLAGS) $(AS_INCLUD
CPP = $(PREFIX)cpp
AR = $(PREFIX)ar
RC = $(PREFIX)windres
RCINC = --include-dir ../include --include-dir ../../include --include-dir ../../../include
RCINC = \
--include-dir ../include \
--include-dir ../../include \
--include-dir ../../../include \
--include-dir ../../../../include
%.o: %.cc
$(CC) $(CFLAGS) -c $< -o $@