Changed GetProcAddress16 and 16-bit resource functions to take normal
[wine/multimedia.git] / programs / wcmd / makefile.bcc
blob910e9c180b20816729dddb399aa762b654c07c2e
1 #-----------------------------------------------------------------------------
2 VERSION = BCB.01
3 #-----------------------------------------------------------------------------
4 !ifndef BCB
5 BCB = $(MAKEDIR)\..
6 !endif
7 PROJECT = wcmd.exe
8 OBJFILES = builtins.obj wcmdmain.obj directory.obj batch.obj
9 RESFILES = wcmdrc.rc
10 RESDEPEN = $(RESFILES)
11 LIBFILES = 
12 DEFFILE = 
13 #-----------------------------------------------------------------------------
14 CFLAG1 = -c
15 CFLAG2 = -H=C:\BC\PROJECTS\CMD.CSM -nC:\BC\PROJECTS\CMD \
16          -IC:\BC\INCLUDE;C:\BC\PROJECTS\CMD
17 PFLAGS = -U$(BCB)\lib\obj -jph -m 
18 RFLAGS = -I$(BCB)\include;C:\BC\INCLUDE;C:\BC\PROJECTS\CMD
19 LFLAGS = -ap -Tpe -c -x -L$(BCB)\lib;$(BCB)\lib\obj;C:\BC\LIB 
20 IFLAGS = -i
21 LINKER = tlink32
22 #-----------------------------------------------------------------------------
23 ALLOBJ = c0x32.obj $(OBJFILES)
24 ALLRES = $(RESFILES)
25 ALLLIB = $(LIBFILES) noeh32.lib import32.lib cw32mt.lib
26 # ---------------------------------------------------------------------------
27 .autodepend
29 $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
30     $(BCB)\BIN\$(LINKER) @&&!
31     $(LFLAGS) +
32     $(ALLOBJ), +
33     $(PROJECT),, +
34     $(ALLLIB), +
35     $(DEFFILE), +
36     $(ALLRES)
39 .cpp.obj:
40     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $*
42 .c.obj:
43     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
45 .rc.res:
46     $(BCB)\BIN\brcc32 $(RFLAGS) $<
47 #-----------------------------------------------------------------------------