

#     Copyright (c) 1991 xtexcad  V1.3 by K. Zitzmann

#     The X Consortium, and any party obtaining a copy of these files from
#     the X Consortium, directly or indirectly, is granted, free of charge, a
#     full and unrestricted irrevocable, world-wide, paid up, royalty-free,
#     nonexclusive right and license to deal in this software and
#     documentation files (the "Software"), including without limitation the
#     rights to use, copy, modify, merge, publish, distribute, sublicense,
#     and/or sell copies of the Software, and to permit persons who receive
#     copies from any such party to do so.  This license includes without
#     limitation a license to do the foregoing actions under any patents of
#     the party supplying this software to the X Consortium.


ereignis.o: ereignis.h ereignis.c pics.h extdef.h oberfl.h
	gcc -g -c  ereignis.c

file_sel.o: file_sel.h file_sel.c extdef.h 
	cc -g -c  file_sel.c

pickedit.o: pickedit.h pickedit.c extdef.h 
	gcc -g -c  pickedit.c

graphics.o: graphics.h graphics.c extdef.h 
	gcc -g -c  graphics.c

io_trans.o: io_trans.h io_trans.c extdef.h 
	gcc -g -c  io_trans.c

oberfl.o: oberfl.c oberfl.h x_stuff.h extdef.h pics.h
	gcc -g -c  oberfl.c
	
yyscan.c:  yyscan.l
	lex -t yyscan.l > yyscan.c

yyscan.o: yyscan.h yyscan.c extdef.h
	gcc -g -c  yyscan.c



cad: oberfl.o ereignis.o file_sel.o pickedit.o graphics.o yyscan.o io_trans.o 
	gcc -g -o xtexcad\
		oberfl.o ereignis.o file_sel.o pickedit.o\
		graphics.o io_trans.o yyscan.o\
		-lXaw -lXmu -lXt -lXext -lX11 -lm -ll


