summaryrefslogtreecommitdiff
path: root/tools/pluginfo/Makefile
blob: 84c47400f05a35282fe054c4b0ea558d3d93c411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CC=gcc
CFLAGS=-Wall
LDFLAGS=-lpthread -ldl -lm

all:
	mkdir -p x86_64
	mkdir -p i686
	$(CC) -m32 $(CFLAGS) pluginfo.c $(LDFLAGS) -o i686/pluginfo
	$(CC) -m64 $(CFLAGS) pluginfo.c $(LDFLAGS) -o x86_64/pluginfo

clean:
	rm *.o pluginfo