Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
8e0d91b82This file is pinned to the selected release. Download the original to open it in your design tool.
base_dir = $(abspath ..)
CXXSRCS := comlog float_fix
CXXFLAGS := $(CXXFLAGS) -std=c++11 -Wall
OBJS := $(addsuffix .o,$(CXXSRCS))
PROGRAMS := $(CXXSRCS)
all: $(PROGRAMS)
%: %.o
$(CXX) $< $(LDFLAGS) -o $@
%.o: $(base_dir)/csrc/%.cc
$(CXX) $(CXXFLAGS) -c $< -o $@
clean:
rm -f $(OBJS) $(PROGRAMS)