Category : Miscellaneous Language Source Code
Archive   : MAKE15.ZIP
Filename : MAKEFILE

 
Output of file : MAKEFILE contained in archive : MAKE15.ZIP
# name of this program
NAME = make

# define the FLAGS as required for MSDOS or Unix
CFLAGS = /Oals /Gs /G2
#CFLAGS = /Od /Zi
LDFLAGS = /link /cparmaxalloc:1 /noe /stack:2000

SRCS = make.c build.c parse.c tstring.c
OBJS = make.o build.o parse.o tstring.o
PROG = $(NAME)$(EXE)

# define your installation directory
BIN = c:/bin

# archive utility
ARCADD = pkarc a

# files to archive
ARC1 = decl.h make.h tstring.h make.c build.c parse.c tstring.c default.mk
ARC2 = default.bsd makefile makefile.bsd make.doc README $(PROG)
ARCS = $(ARC1) $(ARC2)

all: $(PROG)

$(PROG): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LDFLAGS)

arc: $(NAME).arc

$(NAME).arc: $(ARCS)
$(RM) $(NAME).arc
$(ARCADD) $(NAME).arc $(ARC1)
$(ARCADD) $(NAME).arc $(ARC2)

install: $(BIN)/$(PROG) $(BIN)/default.mk
$(BIN)/$(PROG): $(PROG)
cp $(PROG) $(BIN)/$(PROG)
$(BIN)/default.mk: default.mk
cp default.mk $(BIN)/default.mk

clean:
$(RM) *.o
$(RM) *.bak

# use this to check the size of the program (use chkdsk if necessary)
size:
pmap

depend:
$(MKDEPEND) $(SRCS) > makefile.tmp
$(MV) makefile.tmp makefile

# DO NOT DELETE THIS LINE

make.o: make.h tstring.h decl.h
build.o: make.h tstring.h decl.h
parse.o: make.h tstring.h decl.h
tstring.o: tstring.h


  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : MAKE15.ZIP
Filename : MAKEFILE

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/