-# $Id:
+# $Id: Makefile,v 1.3 2002/02/24 22:14:05 ea Exp $
PATH_TO_TOP = ../../../..
TARGET_NAME = psxdll
+TARGET_LIBPATH = $(PATH_TO_TOP)/dk/psx/lib
+
TARGET_LFLAGS = -nostartfiles
TARGET_SDKLIBS = ntdll.a
TARGET_ENTRY = _DllMain@12
-TARGET_CFLAGS = -W -nostdinc -nostdlib -fno-builtin -I$(PATH_TO_TOP)/subsys/psx/include -D__PSXDLL__ -D__PSX_DEBUG_WANT_ALL__
+TARGET_CFLAGS =\
+ -W \
+ -nostdinc \
+ -nostdlib \
+ -fno-builtin \
+ -I$(PATH_TO_TOP)/subsys/psx/include \
+ -I$(PATH_TO_TOP)/include \
+ -D__PSXDLL__ \
+ -D__PSX_DEBUG_WANT_ALL__
TARGET_OBJECTS = $(TARGET_NAME).o
OBJECTS_MISC = \
misc/main.o \
+ misc/init.o \
+ misc/heap.o \
misc/interlock.o \
misc/safeobj.o \
- misc/path.o \
- misc/fdtable.o
+ misc/path.o \
+ misc/fdtable.o
OBJECTS_DIRENT = \
dirent/opendir.o \