10 lines
373 B
Makefile
10 lines
373 B
Makefile
Release_Obj=$(addprefix bin/,$(Obj))
|
|
|
|
bin/%.o: src/%.cc include/*.hh
|
|
@echo "CXX $@"
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $< -c
|
|
|
|
bin/musique: $(Release_Obj) bin/main.o bin/bestline.o include/*.hh lib/midi/libmidi-alsa.a
|
|
@echo "CXX $@"
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $(Release_Obj) bin/bestline.o bin/main.o $(LDFLAGS) $(LDLIBS)
|