1 # $Id: Makefile,v 1.5 2002/10/01 20:21:45 ea Exp $
3 # Tu run it in Win32 console mode, undefine __SUBSYSTEM_WINDOWS__
4 # and pass "console" in the ld's --subsystem option.
7 PATH_TO_TOP
=..
/..
/..
/reactos
13 CFLAGS
=-D__SUBSYSTEM_WINDOWS__
15 OBJECTS
=$(TARGET_NAME
).o
$(TARGET_NAME
).coff
18 $(PATH_TO_PSX_TOP
)/lib
/crt0w32.o \
19 $(PATH_TO_PSX_TOP
)/lib
/psxdll
/psxdll.a
21 $(TARGET_NAME
): $(OBJECTS
) $(LIBRARIES
)
27 -Wl
,--subsystem
,windows\
31 $(TARGET_NAME
).coff
: $(TARGET_NAME
).rc
33 --include-dir
$(PATH_TO_TOP
)/include \
34 --output-format coff \
45 include $(PATH_TO_TOP
)/rules.mak