home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_USR08B.LHA / gerlib / examples / test / startup / makefile < prev    next >
Encoding:
Makefile  |  1993-12-12  |  1.2 KB  |  40 lines

  1. #
  2.  
  3.    %$O : %.asm
  4.     work:Prg/A/Devpac/Genam $< -l -d
  5.     hunk2gcc $(<:b).o
  6.     delete $(<:b).o
  7.     rename obj.* $(<:b).o
  8.  
  9. all: startup_test startup_test.o startup_test_small startup_test_small.o GerTest Ger_Test urandom.o minimal
  10.  
  11. startup_test.o: startup_test.cc gcc:include/use_amiga_argc_argv.h
  12.     gcc -O3 startup_test.cc -c -fomit-frame-pointer -funroll-loops
  13.  
  14. startup_test: startup_test.o
  15.     gcc -msmall-code startup_test.o -o startup_test -lgpp -lger -lamiga
  16.  
  17. startup_test_small.o: startup_test_small.cc gcc:include/use_amiga_argc_argv.h
  18.     gcc -O3 startup_test_small.cc -c -fomit-frame-pointer -funroll-loops
  19.  
  20. startup_test_small: startup_test_small.o
  21.     gcc -msmall-code startup_test_small.o -o startup_test_small -lgpp -lger -lamiga
  22.  
  23. GerTest.o: GerTest.cc
  24.     gcc -c -fomit-frame-pointer -funroll-loops -Wall -O2 GerTest.cc
  25.  
  26. GerTest: GerTest.o
  27.     gcc GerTest.o -o GerTest -lgpp -lger -lamiga
  28.  
  29. Ger_Test.o: Ger_Test.c urandom.o
  30.     gcc -c -O2 -fomit-frame-pointer -funroll-loops -Wall Ger_Test.c
  31.  
  32. Ger_Test: Ger_Test.o
  33.     gcc Ger_Test.o urandom.o -o Ger_Test -lgpp -lger -lamiga
  34.  
  35. minimal.o: minimal.cc
  36.     gcc -c -O2 -fomit-frame-pointer -funroll-loops -Wall minimal.cc
  37.  
  38. minimal: minimal.o
  39.     gccv minimal.o -lgpp -lger -lamiga -o minimal
  40.