version 1.3, 2000/01/05 21:11:15
|
version 1.7, 2000/06/27 18:28:48
|
Line 4
|
Line 4
|
# The target all.2 creates stand alone programs. |
# The target all.2 creates stand alone programs. |
|
|
MAJORVER=\"5.1\" |
MAJORVER=\"5.1\" |
QUIZZERMINORVER=\"0\" |
QUIZZERMINORVER=\"1\" |
GRADERMINORVER=\"0\" |
GRADERMINORVER=\"1\" |
MANAGERMINORVER=\"0\" |
MANAGERMINORVER=\"1\" |
WEBPAGEMINORVER=\"0\" |
WEBPAGEMINORVER=\"1\" |
UNAME=$(shell uname) |
UNAME=$(shell uname) |
|
|
QUIZZERDEFS=-DQUIZZERMINORVER=$(QUIZZERMINORVER) |
QUIZZERDEFS=-DQUIZZERMINORVER=$(QUIZZERMINORVER) |
Line 27 LIBPATH=-L/usr/lib/libc_debug/
|
Line 27 LIBPATH=-L/usr/lib/libc_debug/
|
CC=gcc |
CC=gcc |
TCLTK=/home/albertel/tcltk/egcc |
TCLTK=/home/albertel/tcltk/egcc |
#TCLTK=/nfs/mileva/tcltk/egcc |
#TCLTK=/nfs/mileva/tcltk/egcc |
#TCLTK=/mnt2/egcc |
#TCLTK=/mnt2/tcltk/egcc |
ARCHLIB=-ll $(TCLTK)/lib/libtk8.0.a $(TCLTK)/lib/libtcl8.0.a -lm $(LIBPATH) -lX11 -ldl |
ARCHLIB=-lfl $(TCLTK)/lib/libtk8.0.a $(TCLTK)/lib/libtcl8.0.a -lm $(LIBPATH) -lX11 -ldl |
ARCHLIBTCL=-ll $(TCLTK)/lib/libtcl8.0.a -lm $(LIBPATH) -ldl |
ARCHLIBTCL=-lfl $(TCLTK)/lib/libtcl8.0.a -lm $(LIBPATH) -ldl |
LIBPATH=-L/usr/X11R6/lib/ |
LIBPATH=-L/usr/X11R6/lib/ |
ARCHCOPT=-g $(DEFS) |
ARCHCOPT=-g -Wall $(DEFS) |
INC=-I. -I$(TCLTK)/include |
INC=-I. -I$(TCLTK)/include |
TCLSH=$(TCLTK)/bin/tclsh8.0 |
TCLSH=$(TCLTK)/bin/tclsh8.0 |
|
|
Line 102 dmalloc:
|
Line 102 dmalloc:
|
all.2: $(UNAME)/quizzer.2 $(UNAME)/grader.2 $(UNAME)/manager.2 $(UNAME)/webpage.2 $(UNAME)/answers |
all.2: $(UNAME)/quizzer.2 $(UNAME)/grader.2 $(UNAME)/manager.2 $(UNAME)/webpage.2 $(UNAME)/answers |
|
|
$(UNAME)/answers: $(UNAME)/answers.o |
$(UNAME)/answers: $(UNAME)/answers.o |
$(CC) $(COPT) -o $@ $< $(LIBPATH) $(CAPALIB) $(DBUGLIB) -lm -ll |
$(CC) $(COPT) -o $@ $< $(LIBPATH) $(CAPALIB) $(DBUGLIB) -lm -lfl |
|
|
$(UNAME)/quizzer: $(QUIZZEROBJ) |
$(UNAME)/quizzer: $(QUIZZEROBJ) |
$(CC) $(COPT) -o $@ $(QUIZZEROBJ) $(LIBPATH) $(LIB) |
$(CC) $(COPT) -o $@ $(QUIZZEROBJ) $(LIBPATH) $(LIB) |
Line 138 grader.tcl.c: grader.tcl $(UNAME)/tcl2c-
|
Line 138 grader.tcl.c: grader.tcl $(UNAME)/tcl2c-
|
./$(UNAME)/tcl2c-qz -gd -o $@ common.tcl utils.tcl $< |
./$(UNAME)/tcl2c-qz -gd -o $@ common.tcl utils.tcl $< |
|
|
manager.tcl.c: manager.tcl $(UNAME)/tcl2c-qz common.tcl utils.tcl \ |
manager.tcl.c: manager.tcl $(UNAME)/tcl2c-qz common.tcl utils.tcl \ |
scorer.tcl classl.tcl capastats.tcl seating.tcl |
scorer.tcl classl.tcl capastats.tcl seating.tcl groupemail.tcl |
./$(UNAME)/tcl2c-qz -mn -o $@ common.tcl utils.tcl \ |
./$(UNAME)/tcl2c-qz -mn -o $@ common.tcl utils.tcl \ |
$< scorer.tcl classl.tcl capastats.tcl \ |
$< scorer.tcl classl.tcl capastats.tcl \ |
seating.tcl |
seating.tcl |