Add bounce as a Makefile target

This commit is contained in:
Théophile Bastian 2018-02-13 16:41:10 +01:00
parent dc213cdeeb
commit 640f801441

View file

@ -4,7 +4,7 @@ CXXLIBS=-lGL -lGLU -lglut
# In `TARGET`, list the names of the `main_[stuff].cpp` you'd like to compile # In `TARGET`, list the names of the `main_[stuff].cpp` you'd like to compile
# into a `[stuff].bin`. # into a `[stuff].bin`.
TARGETS=glut ball TARGETS=glut ball bounce
OBJS=Implicit.o \ OBJS=Implicit.o \
common_structures.o \ common_structures.o \
@ -39,3 +39,6 @@ _gen/marching_cubes_data.cpp: tools/gen_marching_cubes_conf.py
clean: clean:
rm -rf $(OBJS) $(TARGETS:=.bin) _gen rm -rf $(OBJS) $(TARGETS:=.bin) _gen
clean_render:
rm -rf render/*.o $(TARGETS:=.bin)