X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=tools%2Fropesim%2FMakefile;fp=tools%2Fropesim%2FMakefile;h=9270553fba76ef2d46432f6c66cbe4135996126c;hp=0000000000000000000000000000000000000000;hb=be72aee3c4a0a5516bdccf06c5419efe3e026ee4;hpb=e8b26db00c934d141f16652cb8dcbeae23b17e48 diff --git a/tools/ropesim/Makefile b/tools/ropesim/Makefile new file mode 100644 index 0000000..9270553 --- /dev/null +++ b/tools/ropesim/Makefile @@ -0,0 +1,18 @@ +src = $(wildcard src/*.c) +obj = $(src:.c=.o) +bin = ropesim + +def = -DUSE_ASSIMP +warn = -pedantic -Wall -Wno-int-to-pointer-cast + +CFLAGS = $(warn) -g $(def) +LDFLAGS = $(libgl) -lm -lassimp + +libgl = -lGL -lGLU -lglut + +$(bin): $(obj) + $(CC) -o $@ $(obj) $(LDFLAGS) + +.PHONY: clean +clean: + rm -f $(obj) $(bin)