version 1.1, 1999/09/28 21:25:36
|
version 1.8, 2000/07/07 18:25:12
|
Line 1
|
Line 1
|
# Makefile for quizzer and grader and manager |
# Makefile for quizzer and grader and manager |
# Copyright Guy Albertelli II 1998 |
# Copyright (C) 1992-2000 Michigan State University |
|
# |
|
# The CAPA system is free software; you can redistribute it and/or |
|
# modify it under the terms of the GNU Library General Public License as |
|
# published by the Free Software Foundation; either version 2 of the |
|
# License, or (at your option) any later version. |
|
# |
|
# The CAPA system is distributed in the hope that it will be useful, |
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
# Library General Public License for more details. |
|
# |
|
# You should have received a copy of the GNU Library General Public |
|
# License along with the CAPA system; see the file COPYING. If not, |
|
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
# Boston, MA 02111-1307, USA. |
|
# |
|
# As a special exception, you have permission to link this program |
|
# with the TtH/TtM library and distribute executables, as long as you |
|
# follow the requirements of the GNU GPL in regard to all of the |
|
# software in the executable aside from TtH/TtM. |
|
|
|
# Guy Albertelli II 1998 |
# The target all creates TCL/TK dependent programs. |
# The target all creates TCL/TK dependent programs. |
# 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 49 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=-lfl $(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=-lfl $(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 134 $(UNAME)/%.tcl.o: %.tcl.c
|
Line 156 $(UNAME)/%.tcl.o: %.tcl.c
|
quizzer.tcl.c: quizzer.tcl $(UNAME)/tcl2c-qz common.tcl utils.tcl quizzer.templates.tcl |
quizzer.tcl.c: quizzer.tcl $(UNAME)/tcl2c-qz common.tcl utils.tcl quizzer.templates.tcl |
./$(UNAME)/tcl2c-qz -qz -o $@ common.tcl utils.tcl quizzer.templates.tcl $< |
./$(UNAME)/tcl2c-qz -qz -o $@ common.tcl utils.tcl quizzer.templates.tcl $< |
|
|
grader.tcl.c: grader.tcl $(UNAME)/tcl2c-qz common.tcl utils.tcl grader.tcl |
grader.tcl.c: grader.tcl $(UNAME)/tcl2c-qz common.tcl utils.tcl gradesubjective.tcl |
./$(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 |