xref: /TaskScheduler/ThirdParty/Squish/Makefile (revision 2f083884)
1*2f083884Ss.makeev_local
2*2f083884Ss.makeev_localinclude config
3*2f083884Ss.makeev_local
4*2f083884Ss.makeev_localSRC = alpha.cpp clusterfit.cpp colourblock.cpp colourfit.cpp colourset.cpp maths.cpp rangefit.cpp singlecolourfit.cpp squish.cpp
5*2f083884Ss.makeev_local
6*2f083884Ss.makeev_localOBJ = $(SRC:%.cpp=%.o)
7*2f083884Ss.makeev_local
8*2f083884Ss.makeev_localLIB = libsquish.a
9*2f083884Ss.makeev_local
10*2f083884Ss.makeev_localall : $(LIB)
11*2f083884Ss.makeev_local
12*2f083884Ss.makeev_localinstall : $(LIB)
13*2f083884Ss.makeev_local	install squish.h $(INSTALL_DIR)/include
14*2f083884Ss.makeev_local	install libsquish.a $(INSTALL_DIR)/lib
15*2f083884Ss.makeev_local
16*2f083884Ss.makeev_localuninstall:
17*2f083884Ss.makeev_local	$(RM) $(INSTALL_DIR)/include/squish.h
18*2f083884Ss.makeev_local	$(RM) $(INSTALL_DIR)/lib/libsquish.a
19*2f083884Ss.makeev_local
20*2f083884Ss.makeev_local$(LIB) : $(OBJ)
21*2f083884Ss.makeev_local	$(AR) cr $@ $?
22*2f083884Ss.makeev_local	ranlib $@
23*2f083884Ss.makeev_local
24*2f083884Ss.makeev_local%.o : %.cpp
25*2f083884Ss.makeev_local	$(CXX) $(CPPFLAGS) -I. $(CXXFLAGS) -o$@ -c $<
26*2f083884Ss.makeev_local
27*2f083884Ss.makeev_localclean :
28*2f083884Ss.makeev_local	$(RM) $(OBJ) $(LIB)
29*2f083884Ss.makeev_local
30*2f083884Ss.makeev_local
31*2f083884Ss.makeev_local
32