makefile 427 Bytes
Newer Older
1

2 3
run: ./stars
	./stars
4

5 6 7 8
./stars: ./stars_extension.o *.pony makefile
	ponyc -d

./stars_extension.o: stars_extension.c
9 10 11 12 13 14 15 16 17
	clang -fPIC -Wall -Wextra -O3 -g -MM stars_extension.c >stars_extension.d
	clang -fPIC -Wall -Wextra -O3 -g   -c -o stars_extension.o stars_extension.c
	clang -shared -o libstars_extension.so stars_extension.o

clean:
	rm -f stars_extension.d
	rm -f stars_extension.o
	rm -f libstars_extension.so
	rm stars