RELS = testgui.h OBJS = testgui_main.o testgui_cb.o testgui.o servercode.o threadFuncs.o CFLAGS += -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE \ -DInfoFont=FL_TINY_SIZE -D_REENTRANT #CFLAGS = -DNodeFont=FL_SMALL_SIZE -DChatFont=FL_SMALL_SIZE \ # -DInfoFont=FL_SMALL_SIZE INC = -I${X11BASE}/include echogui : $(OBJS) cc ${CFLAGS} -o echogui -L${X11BASE}/lib -lX11 -lXpm -lforms -lm -pthread \ $(OBJS) testgui_main.o : testgui_main.c $(RELS) cc -c -o testgui_main.o $(CFLAGS) $(INC) testgui_main.c testgui_cb.o : testgui_cb.c $(RELS) ${CC} -c -o testgui_cb.o $(CFLAGS) $(INC) testgui_cb.c testgui.o : testgui.c $(RELS) ${CC} -c -o testgui.o $(CFLAGS) $(INC) testgui.c servercode.o : servercode.c $(RELS) ${CC} -c -o servercode.o $(CFLAGS) $(INC) servercode.c threadFuncs.o : threadFuncs.c $(RELS) ${CC} -c -o threadFuncs.o $(CFLAGS) $(INC) threadFuncs.c copy_defaults: if [ ! -d ~/.echoLinux ]; then mkdir ~/.echoLinux; fi; \ cp -f servers.txt ~/.echoLinux install: cp echogui ${PREFIX}/bin/echogui clean: rm -f *.o echogui