added tests for StretchBlt, PatBlt and BitBlt by Damon Chandler
[reactos.git] / posix / apps / baresh / Makefile
1 # $Id: Makefile,v 1.5 2002/10/01 20:21:45 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=../../../reactos
8
9 PATH_TO_PSX_TOP=../..
10
11 TARGET_NAME=sh
12
13 CFLAGS=-D__SUBSYSTEM_WINDOWS__
14
15 OBJECTS=$(TARGET_NAME).o $(TARGET_NAME).coff
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 $(TARGET_NAME).coff: $(TARGET_NAME).rc
32 $(RC) \
33 --include-dir $(PATH_TO_TOP)/include \
34 --output-format coff \
35 $< $@
36
37 clean:
38 - $(RM) *.o
39 - $(RM) *.exe
40 - $(RM) *.coff
41 - $(RM) *.sym
42
43
44
45 include $(PATH_TO_TOP)/rules.mak
46
47 # EOF