File: Makefile

package info (click to toggle)
libfloat 990616-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,524 kB
  • ctags: 1,443
  • sloc: ansic: 8,754; asm: 6,749; makefile: 184
file content (28 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: testemu testsf testsfpic ftestemu ftest ftestpic

testemu: floattest.c
	gcc -O2 floattest.c -o testemu 

testsf: floattest.c
	gcc -O2 -static floattest.c -msoft-float -o testsf /usr/lib/libfloat.a

testsfpic: floattest.c
	gcc -O2 floattest.c -msoft-float -o testsfpic /usr/lib/libfloat.so

ftestemu: ftest.c
	gcc -O2 -static ftest.c -o ftestemu

ftest: ftest.c
	gcc -O2 -static ftest.c -msoft-float -o ftest /usr/lib/libfloat.a

ftestpic: ftest.c
	gcc -O2 ftest.c -msoft-float -o ftestpic /usr/lib/libfloat.so

clean: 
	rm -f testemu
	rm -f testsf
	rm -f testsfpic
	rm -f ftest
	rm -f ftestemu
	rm -f ftestpic
	rm -f *~