| New Reply |
Open watcom f77 - make file problems |
Share Thread |
| Jul4-12, 05:58 AM | #1 |
|
|
Open watcom f77 - make file problems
I loaded Watcom 1.9. I built a simple project and added a simple file with just a CALL EXIT and END. But it gives a bunch of make errors. Does anyone know what is going on?
--- make files --- W:\1830\port\test>type test.mk project : W:\1830\port\test\test.exe .SYMBOLIC !include W:\1830\port\test\test.mk1 W:\1830\port\test>type test.mk1 !define BLANK "" W:\1830\port\test\TRBL$.obj : W:\1830\port\test\TRBL$.FOR .AUTODEPEND @W: cd W:\1830\port\test wfc386 TRBL$.FOR -d2 -q -dep W:\1830\port\test\test.exe : W:\1830\port\test\TRBL$.obj .AUTODEPEND @W: cd W:\1830\port\test @%write test.lk1 FIL TRBLtest.exeobj @%append test.lk1 !ifneq BLANK "" *wlib -q -n -b test.imp @%append test.lk1 LIBR test.imp !endif !ifneq BLANK "" @%append test.lk1 !endif *wlink name test d all sys nt op m op maxe=25 op q op symf @test.lk1 W:\1830\port\test> --- output --- cd W:\1830\port\test wmake -f W:\1830\port\test\test.mk -h -e W:\1830\port\test\test.mk1(2): Error(E08): Invalid macro name () W:\1830\port\test\test.mk1(2): Error(E08): Invalid macro name () W:\1830\port\test\test.mk1(7): Error(E08): Invalid macro name () Error(E02) Make execution terminated Execution complete |
| Jul4-12, 04:04 PM | #2 |
Recognitions:
|
I think the problem is the $ characters.
In a makefile you can define a "macro variable" by saying someting like Code:
SOURCE = one.f two.f three.f Code:
wfc386 ${SOURCE}
Code:
wfc386 one.f two.f three.f Code:
W:\1830\port\test\TRBL$.obj, Sorry, but I don't use watcom so I can't guess what you are actually trying to do here. |
| Jul6-12, 12:18 PM | #3 |
|
|
You hit the nail on the head ... I removed the $ and it compiles OK now.
Thanks |
| New Reply |
Similar discussions for: Open watcom f77 - make file problems
|
||||
| Thread | Forum | Replies | ||
| Open watcom f77--Hello World | Programming & Comp Sci | 6 | ||
| How to open .py file? | Computers | 9 | ||
| how to open xml file? | Introductory Physics Homework | 2 | ||
| Help! File won't open: | Computing & Technology | 8 | ||
| Make a Pdf file into an ordinary web file (html file)? | Computing & Technology | 3 | ||