|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 1759 (0x6df) Types: TextFile Names: »Maketcc.ini«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Nethack/Maketcc.ini«
# SCCS Id: @(#)Maketcc.ini 1.4 87/08/08 # This is a sample `make.ini' file for NDMAKE v3.7. You will probably want # to customize it for your system. # The order to search for rules and files is specified by .SUFFIXES #.SUFFIXES : .exe .obj .c .for .asm # A few macros. CFLAGS = -m$(MODEL) MODEL = h LIBS = c:\c\lib\emu.lib c:\c\lib\math$(MODEL).lib c:\c\lib\c$(MODEL).lib BIN = LFLAGS = # A universally useful target. #clean: # +-erase *.bak # +-erase *.map # .BEFORE and .AFTER can be used to turn DPATH off and on. #.BEFORE:; @+echo For help with ndmake, use the command `make -h' #.AFTER:; @+echo All done. # DEFAULT RULES # To produce a `.obj' file from a `.asm' file using MASM. .asm.obj: masm $*.asm; # To produce a `.obj' file from a `.c' file using Microsoft C. .c.obj: tcc -c $(CFLAGS) $*.c # To produce a `.obj' file from a `.for' file using Microsoft Fortran. .for.obj: for1 $*.for; pas2 # To produce a `.exe' file from an `.obj' file. Note that there is a # problem because LIBS may be different for linking `.obj' files # produced by different compilers (C, FORTRAN, PASCAL, etc). To avoid # this problem you may want to have the C compiler produce `.cbj' files, # the FORTRAN compiler produce `.fbj' files, etc. Then you could write # specific rules for `.cbj.exe' and `.fbj.exe' which would use the correct # libraries. .obj.exe: tlink c:\c\lib\c0$(MODEL).obj $*.obj,$@,,$(LIBS) $(LFLAGS); # To produce a `.exe' file from a `.asm' file. .asm.exe: masm $*.asm; tlink $*.obj, $@,, $(LIBS) erase $*.obj # To produce a `.exe' file from a `.c' file. .c.exe: tcc $(CFLAGS) $*.c erase $*.obj # To produce a `.exe' file from a `.for' file. .for.exe: for1 $*.for; pas2 link $*.obj, $@,, $(LIB)\FORTRAN.LIB erase $*.obj