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

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

clean:
	rm *.o pluginfo