Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Simple file manager written in C (Developers)

posted by tkchia Homepage, 27.09.2020, 18:28

Hello RayeR,

> There's mentioned
> "gc3 compiles and runs under MS-DOS with Borland or Turbo C/C++ v3.x."
> but I'm unable to correctly generate the secondary makefile. Not sure what
> version of make should I use. Should I configure it under linux and then
> switch to dos?

Yeah, the rule for generating Makefile.2 in the main makefile seems to be borked...

Makefile.2: site.def Makefile.gen
        -type site.def > Makefile.2
        -type Makefile.gen >> Makefile.2
        -cat site.def Makefile.gen > Makefile.2

The first two commands are correct for MS-DOS, but unfortunately the third command basically destroys their good work and just leaves a "Bad command or file name" (or some such) in Makefile.2. Maybe for now, just manually do

type site.def > Makefile.2
type Makefile.gen >> Makefile.2

(under DOS) then carry on with the

make dos

?

Thank you!

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 193 users online (0 registered, 193 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum