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