-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmakefile.tcc
64 lines (55 loc) · 2.66 KB
/
makefile.tcc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#-------------------------------------------------------------------
# D - F L A T M A K E F I L E - Turbo C++ 1.01
#-------------------------------------------------------------------
all : memopad.exe memopad.hlp
#------------------------------------------------
# NOTE: Set DRIVE to match where you installed your compiler
#------------------------------------------------
DRIVE = c:\tc
#-------------------------------------------------------------------
# Delete the TESTING macro to eliminate the Reload
# Help file selection on the Help menu.
#-------------------------------------------------------------------
TESTING = TESTING_DFLAT
#-------------------------------------------------------------------
# This macro builds the full D-Flat system with all options enabled.
# Comment it out for a minimum system or selectively
# comment out the #defines at the top of dflat.h.
#-------------------------------------------------------------------
FULL = BUILD_FULL_DFLAT
#-------------------------------------------------------------------
MODEL = l
#------------------------------------------------
# NOTE: Delete the DEBUG and LINKDEBUG macros to
# build without debugging information in the .EXE
#------------------------------------------------
DEBUG = -v
LINKDEBUG = /m /v
#------------------------------------------------
COMPILE = tcc $(DEBUG) -D$(TESTING) -D$(FULL) -DBCPP -c -d -m$(MODEL)
LINK= tlink $(LINKDEBUG) $(DRIVE)\lib\c0$(MODEL)
LIBS= $(DRIVE)\lib\c$(MODEL)
#------------------------------------------------
.c.obj:
$(COMPILE) {$*.c }
memopad.exe : memopad.obj dialogs.obj menus.obj dflat.lib
$(LINK) memopad dialogs menus,memopad.exe,memopad,dflat $(LIBS)
dflat.lib : window.obj video.obj message.obj \
mouse.obj console.obj textbox.obj listbox.obj \
normal.obj config.obj menu.obj menubar.obj popdown.obj \
rect.obj applicat.obj keys.obj sysmenu.obj editbox.obj \
dialbox.obj button.obj fileopen.obj msgbox.obj \
helpbox.obj log.obj lists.obj statbar.obj decomp.obj \
combobox.obj pictbox.obj calendar.obj barchart.obj \
clipbord.obj search.obj dfalloc.obj checkbox.obj \
text.obj radio.obj box.obj spinbutt.obj watch.obj \
slidebox.obj direct.obj editor.obj
del dflat.lib
tlib dflat @dflat.bld
huffc.exe : huffc.obj htree.obj
$(LINK) huffc htree,$*.exe,$*,$(LIBS)
fixhelp.exe : fixhelp.obj decomp.obj
$(LINK) fixhelp decomp,$*.exe,$*,$(LIBS)
memopad.hlp : memopad.txt huffc.exe fixhelp.exe
huffc memopad.txt memopad.hlp
fixhelp memopad