OBJS= UCdomap.o UCAux.o UCAuto.o \ LYClean.o LYShowInfo.o LYEdit.o LYStrings.o \ LYMail.o HTAlert.o GridText.o LYGetFile.o \ LYMain.o LYMainLoop.o LYCurses.o LYBookmark.o LYUtils.o \ LYOptions.o LYReadCFG.o LYSearch.o LYHistory.o \ LYForms.o LYPrint.o LYrcFile.o LYDownload.o LYNews.o LYKeymap.o \ HTML.o HTFWriter.o HTInit.o DefaultStyle.o LYLocal.o LYUpload.o \ LYLeaks.o LYexit.o LYJump.o LYList.o LYCgi.o LYTraversal.o \ LYEditmap.o LYCharSets.o LYCharUtils.o LYMap.o LYCookie.o LYExtern.o \ LYStyle.o LYHash.o LYPrettySrc.o CFLAGS= $(MCFLAGS) -I. -I.. $(SLANGINC) CC = gcc MCFLAGS = -O2 -DHAVE_GETBKGD -DDISP_PARTIAL -DUSE_ZLIB \ -DSOURCE_CACHE -DUSE_PSRC \ -DUSE_EXTERNALS -DCOLOR_CURSES -DNCURSES -DFANCY_CURSES \ -DACCESS_AUTH -DNO_CUSERID -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP \ -Ichrtrans -I../WWW/library/implementation \ -I../curses -I../djgpp/tcplib/include -I../djgpp/tcplib/include/tcp WWWLIB = ../WWW/library/djgpp/libwww.a ../curses/pdcurses.a ../djgpp/tcplib/obj/libtcp.a LIBS=-lz all: lynx lynx: message $(OBJS) $(WWWLIB) @echo "Linking and creating Lynx executable" $(CC) $(CFLAGS) -o lynx.exe $(OBJS) $(WWWLIB) $(SLANGLIB) $(LIBS) @echo "Welcome to Lynx!" message: @echo "Compiling Lynx sources" dbg: $(OBJS) $(WWWLIB) @echo "Making Lynx code" $(CC) -g $(OBJS) $(CFLAGS) $(WWWLIB) $(SLANGLIB) $(LIBS) lint: lint *.c > ../lint.out clean: rm -f lynx.exe core *.[ob] DefaultStyle.o: ../userdefs.h HTFWriter.o: ../userdefs.h LYBookmark.o: ../userdefs.h LYCharSets.o: ../userdefs.h LYCharUtils.o: ../userdefs.h LYCookie.o: ../userdefs.h LYDownload.o: ../userdefs.h LYEditmap.o: ../userdefs.h LYExtern.o: ../userdefs.h LYGetFile.o: ../userdefs.h LYHistory.o: ../userdefs.h LYKeymap.o: ../userdefs.h LYMain.o: ../userdefs.h LYMainLoop.o: ../userdefs.h LYOptions.o: ../userdefs.h LYReadCFG.o: ../userdefs.h LYShowInfo.o: ../userdefs.h LYStrings.o: ../userdefs.h LYTraversal.o: ../userdefs.h