home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
turbo_c
/
tick.arc
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1988-03-08
|
1KB
|
55 lines
MODEL = ml
# turn optimization on by default
CFLAGS = -O
DEST = .
EXTHDRS = /turboc/include/dos.h \
/turboc/include/stdarg.h \
/turboc/include/stdio.h \
/turboc/include/stdlib.h
HDRS = TICK.H
LIBS =
MAKEFILE = makefile
OBJS = TEST.OBJ \
TICK.OBJ
# Print over the ethernet
PRINT = eprint
PROGRAM = test.exe
SRCS = TEST.C \
TICK.C
all: $(PROGRAM)
$(PROGRAM): $(OBJS) $(LIBS)
$(LINK) $(STDOBJFILES) $(OBJS),$@,,$(LIBS) $(STDLIBFILES)
clean:; rm -f *.bak *.lst *.map $(OBJS)
depend:; @mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
install: $(PROGRAM)
@mv $(PROGRAM) $(DEST)
print:; $(PRINT) $(HDRS) $(SRCS)
program: $(PROGRAM)
update: $(DEST)/$(PROGRAM)
$(DEST)/$(PROGRAM): $(SRCS) $(LIBS) $(HDRS) $(EXTHDRS)
@make -f $(MAKEFILE) DEST=$(DEST) install
###
TEST.OBJ: /turboc/include/stdio.h /turboc/include/stdarg.h tick.h \
/turboc/include/dos.h
TICK.OBJ: /turboc/include/stdlib.h /turboc/include/stdio.h \
/turboc/include/stdarg.h tick.h /turboc/include/dos.h