Skip to content

Commit 691e72f

Browse files
committed
juanito: edit Makefile for i486
1 parent 0be2068 commit 691e72f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
33
PROG=flpicsee
44
PROG_CAPS=FL-PicSee
55
DESC="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)
1515
all:
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

0 commit comments

Comments
 (0)