Commit fcd0efd6 authored by Ercan Ersoy's avatar Ercan Ersoy

Some important changes

Delete unnedded ".bzr" directory on FDOSTUI library.
Change directory tree. Reanme "main.h" to "dosshell.h".
Rename "main.cpp" to "dosshell.cpp". Modified "Makefile"
for changes.
parent bb127c5e
This is a Bazaar control directory.
Do not change any files in this directory.
See http://bazaar.canonical.com/ for more information about Bazaar.
Bazaar-NG meta directory, format 1
parent_location = bzr://bzr.savannah.nongnu.org/fdostui/v1/
Bazaar Branch Format 7 (needs bzr 1.6)
33 markjolesen@gmail.com-20181002222954-s0ie09yj4kz2hs5m
Bazaar Working Tree Format 6 (bzr 1.14)
Bazaar repository format 2a (needs bzr 1.16 or later)
B+Tree Graph Index 2
node_ref_lists=0
key_elements=1
len=0
row_lengths=
# Makefile - Build file
# Makefile - Build FreeDOS TUI Shell
# Written by Ercan Ersoy.
all: dosshell.exe
# Directory variables
dosshell.exe: main.obj 3rdparty\kitten\kitten.obj 3rdparty\fdostui\lib\fdtuid16.lib
wlink system dos op stack=4096 file main.obj,3rdparty\kitten\kitten.obj,3rdparty\fdostui\lib\fdtuid16.lib
mv main.exe dosshell.exe
LIB=lib
INCLUDE=include
SRC=src
OBJ=bin
BIN=bin
main.obj: main.cpp
wpp -mm -0 -bt=DOS -d3 -i=3rdparty\fdostui\include -i=3rdparty\kitten main.cpp
# Command variables
3rdparty\kitten\kitten.obj: 3rdparty\kitten\kitten.c
wcc -mm -0 -bt=DOS -d3 -s -i=3rdparty\kitten 3rdparty\kitten\kitten.c -fo=3rdparty\kitten\kitten.obj
CPP=wpp
LINK=wlink
# Command flags
CPPFLAGS=-mm -0 -bt=DOS
LINKFLAGS=system dos op stack=4096 file
# Objects
OBJECTS=$(OBJ)\dosshell.obj &
$(LIB)\kitten\kitten.obj &
$(LIB)\fdostui\lib\fdtuid16.lib
# Directives
all: $(BIN)\dosshell.exe
$(BIN)\dosshell.exe: $(OBJECTS)
$(LINK) $(LINKFLAGS) &
$(OBJ)\dosshell.obj, &
$(LIB)\kitten\kitten.obj, &
$(LIB)\fdostui\lib\fdtuid16.lib
$(OBJ)\dosshell.obj: $(SRC)\dosshell.cpp
$(CPP) $(CPPFLAGS) &
-i=$(LIB)\fdostui\include &
-i=$(LIB)\kitten &
-i=$(INCLUDE) &
$? &
-fo=$@
clean-obj: .SYMBOLIC
@if exist main.obj del main.obj
@if exist $(OBJ)\*.obj del $(OBJ)\*.obj
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment