# 
# -----------------------------------------------------------------------------
# 
# This file is part of the computer algebra system SIMATH.
# 
# SIMATH is a common software product of the SIMATH group in Saarbruecken
# and the Siemens AG. Copyright (C) 1992-1994 by the SIMATH group in
# Saarbruecken and the Siemens AG/Munich.
# 
# The computer algebra system SIMATH is free software for universities
# and scientific research institutions as long as it is used for purely
# scientific purposes only. This software is distributed in the hope that
# it will be useful, but
# 
# 			WITHOUT ANY WARRANTY.
# 
# 
# Permission is hereby granted to copy the system for any 
# 
# 			PURELY SCIENTIFIC
# 
# purposes, provided the above notices are retained on all copies.
# 
# If you intend to use SIMATH for other applications, please contact
# 	
# 	SIEMENS AG
# 	Corporate Research and Development
# 	Dept. ZFE ST SN 3
# 	D-81730 Munich
# 
# Upon reception of this software, please send e-mail messages to
# 
# 	simath@math.uni-sb.de 			and to	
# 	Heribert.Peuckert@zfe.siemens.de
# 
# to inform us that you got a copy of the system. 
# 
# Redistribution of this software - either in source or binary form - is
# not permitted.

include ../Makefile.flags

all: SM CCC cmd preV3_1.x preproc.x

SM:
	$(CC) SM.c $(CPPFLAGS_PROC) $(CFLAGS_PROC) $(LDFLAGS) -o SM

CCC:
	$(CC) CCC.c $(CPPFLAGS_PROC) $(CFLAGS_PROC) $(LDFLAGS) -o CCC

cmd:
	$(CC) cmd.c $(CPPFLAGS_PROC) $(CFLAGS_PROC) $(LDFLAGS) -o cmd

preV3_1.x:
	$(CC) preV3_1.x.c $(CPPFLAGS_PROC) $(CFLAGS_PROC) $(LEXLIB) $(LDFLAGS) -o preV3_1.x

preproc.x:
	$(CC) preproc.x.c $(CPPFLAGS_PROC) $(CFLAGS_PROC) $(LEXLIB) $(LDFLAGS) -o preproc.x

clean:
	rm -f core	
	rm -f *.bak
	rm -f *.P
	rm -f *.S
	rm -f *.o
	rm -f *~
	-rm -f SM CCC cmd preV3_1.x preproc.x
