home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!gatech!ukma!vlsi!starbase.spd.louisville.edu!tjgorn01
- From: tjgorn01@rigel.spd.louisville.edu (Tim Gornet)
- Subject: Converting MASM in makefile to use inline assembler
- Message-ID: <tjgorn01.711746895@starbase.spd.louisville.edu>
- Sender: news@vlsi.louisville.edu (Network News System)
- Nntp-Posting-Host: rigel.spd.louisville.edu
- Organization: University of Louisville
- Date: Tue, 21 Jul 1992 19:28:15 GMT
- Lines: 45
-
- I am attempting to compile some software using a makefile in Microsoft C
- version 6.0. I do not have the Macro Assembler MASM but need to compile
- some software that calls the MASM. I am not a C programmer, but am usually
- able to debug and compile with a little effort. I have also checked through
- the C and advanced C techniques books from MS and can't find the answer to my
- question.
- Following is a representation of my makefile that I am using. I am able to
- get all the C stuff to compile but it blows out at the MASM stuff. Since I do
- not have MASM is there any way I can edit the makefile so that it uses the
- inline assembler that is included with C to get this beast to compile. I am
- not knowledgable enough to edit any of the files being compiled. Or do I have
- to get MASM to get this to work. Thanks for any help.
-
- ---- Start of Makefile
-
- F = -FPi
- CFLAGS1 = -nologo -c -Ot -AL -DMSC -DPC $(F)
- CFLAGS2 = -nologo -c -Ot -AL -DPC -DMSC -DSIGMA -DCGA -DEGA -DVGA -DHERCULES -DPOSTSCRIPT -DHPGL -DDXY $(F)
- MFLAGS = -MX
- HDRS= VOGLE.H
-
- ...
- --- A bunch of C targets that compiled okay
- ...
-
- MOUSE.OBJ: ..\DRIVERS\IBMPC\MOUSE.ASM
- MASM $(MFLAGS) ..\DRIVERS\IBMPC\MOUSE;
-
- MISC.OBJ: ..\DRIVERS\IBMPC\MISC.ASM
- MASM $(MFLAGS) ..\DRIVERS\IBMPC\MISC;
-
- .....
- --- Some more MASM calls to end of file.
- ...
- --
- --------------------------------------------------------------------------
- Tim Gornet PHONENET: (502)588-0714
- Computer Aided Engineering Consultant FAXNET : (502)588-8890
- SLUGNET:
- INTERNET: tjgorn01@starbase.spd.louisville.edu CAE Center
- BITNET : tjgorn01@ulkyvx.bitnet University of Louisville
- Louisville, KY 40292
- --------------------------------------------------------------------------
-
-
-