File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# makefile for fltk program
2- CXXFLAGS=" -march =i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti"
2+ CXXFLAGS=-march =i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti
33PROG =flpicsee
44PROG_CAPS =FL-PicSee
55DESC ="Picture Viewer"
@@ -13,9 +13,9 @@ BASEDIR=`pwd`
1313# Standard Version: has right-click menu and multi-image paging. About 23.0K
1414# Uses these #defines: (none)
1515all :
16- gcc ${CXXFLAGS} ` fltk-config --cxxflags ` -c ${PROG} .cpp
17- gcc ` fltk-config --ldflags ` -lfltk_images ${PROG} .o -o ${PROG}
18- strip ${PROG}
16+ gcc ${CXXFLAGS} -I/usr/local/include -fvisibility-inlines-hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -c ${PROG} .cpp
17+ gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lfltk -lXcursor -lXext -lstdc++ -lpthread -lm -lX11 -lfltk_images ${PROG} .o -o ${PROG}
18+ sstrip ${PROG}
1919 sudo cp ${PROG} /usr/local/bin
2020
2121# Basic Version: no right-click menu, etc. About 14.6K in TC 3.0
You can’t perform that action at this time.
0 commit comments