.c.o: gcc ${CFLAGS} -c $< CC = gcc WININCLUDE = #WININCLUDE = -I /usr/include/X11R4 -I /usr/include/Motif1.1 WINLIBS = -lXm -lXt -lX11 #WINLIBS = -L/usr/lib/Motif1.1 -lXm -L/usr/lib/X11R4 -lXt -lX11 CFLAGS= $(WININCLUDE) #-DWINDOW_DEBUG SOURCE=main.o convert.o y.tab.o clauses.o lists.o match.o tms6.o chain.o expand.o constructors.o controller.o pipes.o k_winlib.o term_library.o sets.o system_pred.o actions.o c_register.o test_module.o communication.o network.o evaluable_functions.o AOPmailLib.o sc_link.o file_handler.o HEADERS= parser.h structures.h reserved_def.aux all: reserved_def.aux go dispatcher k_window AOPcal AOPmail reserved_def.aux: reserved_words.c $(CC) $(CFLAGS) -o genres reserved_words.c ./genres go: $(SOURCE) $(CC) $(CFLAGS) -o go $(SOURCE) -ll lex.yy.c: parser.lex $(HEADERS) lex parser.lex y.tab.c: parser.yacc lex.yy.c $(HEADERS) reserved_str.aux yacc parser.yacc dispatcher: dispatcher.o $(CC) $(CFLAGS) dispatcher.o -o dispatcher -ll # External modules k_window: $(HEADERS) k_window.o pipes.o t_list.c $(CC) ${CFLAGS} k_window.o pipes.o -o k_window ${WINLIBS} AOPcal: $(HEADERS) AOPcalendar.o pipes.o t_list.c AOPcalDb.o api_user.o $(CC) ${CFLAGS} AOPcalendar.o pipes.o AOPcalDb.o api_user.o -o AOPcal ${WINLIBS} AOPmail: AOPmail.o $(CC) ${CFLAGS} AOPmail.o -o AOPmail ${WINLIBS} main.o: $(HEADERS) c_module.h convert.o: $(HEADERS) y.tab.o: $(HEADERS) clauses.o: $(HEADERS) lists.o: $(HEADERS) match.o: $(HEADERS) tms6.o: $(HEADERS) chain.o: direct.c $(HEADERS) expand.o: $(HEADERS) constructors.o: $(HEADERS) controller.o: $(HEADERS) sets.o: $(HEADERS) system.aux t_list.c pipes.o: $(HEADERS) k_winlib.o: $(HEADERS) k_winlib.h term_library.o: $(HEADERS) k_winlib.h system_pred.o: $(HEADERS) actions.o: $(HEADERS) actions.aux c_register.o: $(HEADERS) test_module.o: $(HEADERS) network.o: $(HEADERS) network.h communication.o: AOPcomm.h dispatcher.o: AOPcomm.h network.h evaluable_functions.o: $(HEADERS) AOPmailLib.o: $(HEADERS) AOPmail.h AOPmail.o: AOPmail.h k_window.o: pipes.o t_list.c AOPcalendar.o: pipes.o t_list.c AOPcalInterface.c sc_link.o: $(HEADERS) sc_link.c file_handler.o: $(HEADERS) AOPcalDb.o: ${HEADERS} AOPcalDb.c api_user.o: $(HEADERS) api_user.c