Permalink
Browse files

Added extra linux target "ospac-gui-linux" to overcome static linking…

… problems of fltk-config on the Linux platform.
  • Loading branch information...
sritterbusch committed May 2, 2016
1 parent 9b80fbc commit d5973accf59909e83ae51560d7b8fc60855b6843
Showing with 12 additions and 0 deletions.
  1. +6 −0 Makefile
  2. +6 −0 makefile.targets
View
@@ -7,9 +7,15 @@ gui: ospac-gui
ospac-gui: src/*cpp src/*h
cd GUI-Release;make all;cd ..
ospac-gui-linux: src/*cpp src/*h
cd GUI-Release;make ospac-gui-linux;cd ..
GUI-Release/ospac-gui: src/*cpp src/*h
cd GUI-Release;make all;cd ..
GUI-Release/ospac-gui-linux: src/*cpp src/*h
cd GUI-Release;make ospac-gui-linux;cd ..
Release/ospac: src/*cpp src/*h
cd Release;make all;cd ..
View
@@ -11,3 +11,9 @@ uninstall:
rm -f /usr/local/bin/ospac-gui
rm -f /usr/local/share/man/man1/ospac.1
ospac-gui-linux: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: Cross G++ Linker'
g++ `fltk-config --ldflags` -L/usr/local/lib -o "ospac-gui" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '

0 comments on commit d5973ac

Please sign in to comment.