diff options
Diffstat (limited to 'tools/shapegame/dt/Makefile')
-rw-r--r-- | tools/shapegame/dt/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/shapegame/dt/Makefile b/tools/shapegame/dt/Makefile new file mode 100644 index 0000000..91ea042 --- /dev/null +++ b/tools/shapegame/dt/Makefile @@ -0,0 +1,23 @@ +INCDIR = -I. +DBG = -g +OPT = -O3 +CPP = g++ +CFLAGS = $(DBG) $(OPT) $(INCDIR) +LINK = -lm + +.cpp.o: + $(CPP) $(CFLAGS) -c $< -o $@ + +all: dt + +dt: dt.cpp + $(CPP) $(CFLAGS) -o dt dt.cpp $(LINK) + +clean: + /bin/rm -f dt *.o + +clean-all: clean + /bin/rm -f *~ + + + |