"Fossies" - the Fresh Open Source Software Archive

Member "mapm_4.9.5a/PI_DEMO/make_linux" (21 Feb 2010, 407 Bytes) of package /linux/misc/old/mapm-4.9.5a.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 	#
    2 	#
    3 	#    short build script for use on Linux
    4 	#    (or generic Unix using gcc)
    5 	#
    6 	#
    7 rm -f pi_1 pi_2 pi_3 pi_4
    8 #
    9 gcc -c -Wall -O2 -I.. pi_1.c
   10 gcc -c -Wall -O2 -I.. pi_3.c
   11 #
   12 g++ -c -Wall -O2 -I.. pi_2.cpp
   13 g++ -c -Wall -O2 -I.. pi_4.cpp
   14 #
   15 #
   16 #
   17 gcc -o pi_1 pi_1.o ../libmapm.a -lm
   18 gcc -o pi_3 pi_3.o ../libmapm.a -lm
   19 #
   20 g++ -o pi_2 pi_2.o ../libmapm.a -lm
   21 g++ -o pi_4 pi_4.o ../libmapm.a -lm
   22 #
   23 #
   24 rm pi*.o
   25 #
   26 #