|
|
1.1 root 1:
2: # Macros
3: CC = bcc
4: LD = tlink
5: SDK = ..\sdk
6: UIFC = ..\..\uifc
7: MSWAIT = ..\..\mswait
8: INCLUDE = \bc45\include;$(UIFC);..
9: LIB = \bc45\lib
10: MODEL = l
11: CFLAGS = -d -C -m$(MODEL) -I$(INCLUDE) -w-pro
12: LDFLAGS = /n /c
13: OBJS = $(MSWAIT)\dos\mswait$(MODEL).obj uifc.obj
14: HEADERS = $(UIFC)\uifc.h smmdefs.h
15:
16: # Implicit C Compile Rule
17: .c.obj:
18: @echo Compiling $*.c to $*.obj ...
19: $(CC) $(CFLAGS) -c $*.c
20:
21: # Main EXE Link Rule
22: smmcfg.exe: $(OBJS) smmcfg.obj
23: @echo Linking $< ...
24: $(LD) $(LDFLAGS) @&&!
25: $(LIB)\c0$(MODEL) $(OBJS) smmcfg.obj
26: !, $*, $*, $(LIB)\c$(MODEL).lib $(LIB)\math$(MODEL).lib $(LIB)\emu.lib
27:
28:
29: # All .obj modules
30: smmcfg.obj: $(HEADERS)
31:
32: uifc.obj: $(UIFC)\uifc.h $(UIFC)\uifc.c
33: @echo Compiling $(UIFC)\$*.c to $*.obj ...
34: $(CC) $(CFLAGS) -c -DSCFG $(UIFC)\$*.c
35:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.