Added heap initialization for malloc/calloc/realloc/free.
[reactos.git] / posix / apps / baresh / Makefile
1 # $Id: Makefile,v 1.1 2002/01/20 21:22:29 ea Exp $
2 #
3 # Tu run it in Win32 console mode, undefine __SUBSYSTEM_WINDOWS__
4 # and pass "console" in the ld's --subsystem option.
5 #
6 #
7 PATH_TO_TOP=../../../..
8
9 PATH_TO_PSX_TOP=../..
10
11 TARGET_NAME=sh
12
13 CFLAGS=-D__SUBSYSTEM_WINDOWS__
14
15 OBJECTS=$(TARGET_NAME).o
16
17 LIBRARIES=\
18 $(PATH_TO_PSX_TOP)/lib/crt0w32.o \
19 $(PATH_TO_PSX_TOP)/lib/psxdll/psxdll.a
20
21 $(TARGET_NAME): $(OBJECTS) $(LIBRARIES)
22 $(CC) \
23 $(CFLAGS) \
24 $(OBJECTS) \
25 $(LIBRARIES)\
26 -o $@ \
27 -Wl,--subsystem,windows\
28 -nostartfiles \
29 -nostdlib
30
31 include $(PATH_TO_TOP)/rules.mak
32
33 # EOF