source: golgotha/src/i4/test/dll_test/makefile.test @ 608

Last change on this file since 608 was 80, checked in by Sam Hocevar, 15 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 463 bytes
Line 
1FLAGS=-g -I../../../i4 -I../../../i4/inc
2
3all: test test1.dll test2.dll
4
5test: test.cc linux_dll.o test.hh
6        g++ $(FLAGS) -o test -rdynamic test.cc linux_dll.o -ldl
7
8test1.dll: test1.cc test.hh
9        g++ $(FLAGS) -o test1.dll -shared -Wl,-soname,test1.dll test1.cc
10
11test2.dll: test2.cc test.hh
12        g++ $(FLAGS) -o test2.dll -shared -Wl,-soname,test2.dll test2.cc
13
14linux_dll.o: ../../dll/linux_dll.cc
15        g++ $(FLAGS) -c -o linux_dll.o ../../dll/linux_dll.cc
16
Note: See TracBrowser for help on using the repository browser.