# ned_fltk Makefile # 2013 N. Resnikoff all: Flippy GlCam Piano NoteChooser include inc/inc.inc.mk # Platform independent includes. include inc/inc.mac.mk #include inc/inc.linux.mk #include inc/inc.win32.mk CPPFILES=$(FLUIDFILES:.fl=.cxx) $(CFILES) OBJECTS =$(CPPFILES:.cxx=.o) CXXFLAGS=$(COMPILEFLAGS) $(PLATFORMFLAG) $(ARCHFLAGS) $(OPTIM) # Executables. Piano: Piano.o Fl_Piano.o Fl_PSlider.o $(MAKE) exe TARGET=$@ ELTS="$@.o Fl_Piano.o Fl_PSlider.o" NoteChooser: NoteChooser.o Piano $(MAKE) exe TARGET=$@ ELTS="$@.o Fl_Piano.o Fl_PSlider.o" Flippy: Flippy.o Fl_Flippy.o $(MAKE) exe TARGET=$@ ELTS="$@.o Fl_Flippy.o" GlCam: fluid GlCam.o Fl_GlCam.o fl_glcamUI.o Fl_PSlider.o $(MAKE) exe TARGET=$@ ELTS="$@.o Fl_GlCam.o fl_glcamUI.o Fl_PSlider.o" # Meta-targets. OBJS = *.o fluid: fl_glcamUI.cxx util: nrutils.o fluid_clean: rm -rf fl_glcamUI.cxx fl_glcamUI.h exe: echo Linking $(TARGET)... $(CXX) -o $(TARGET)$(EXEEXT) $(ELTS) $(ARCHFLAGS) $(LDFLAGS) $(LDLIBS) clean: fluid_clean rm -rf core.* core *~ *.o *.app *.exe log.txt #---------eof