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

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

# define the FLAGS as required for MSDOS or Unix
CFLAGS = -O
LDFLAGS =

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 = $(HOME)/bin

# archive utility
ARCADD = arc a

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

all: $(PROG)

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

arc: $(NAME).arc

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

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.BSD

  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/