]> git.sesse.net Git - cubemap/blob - Makefile
Make Server stoppable.
[cubemap] / Makefile
1 CC=gcc
2 CXX=g++
3 CXXFLAGS=-Wall -O2 -g
4 LDLIBS=-lcurl -lpthread
5
6 OBJS=cubemap.o server.o mutexlock.o input.o
7
8 all: cubemap
9
10 %.o: %.cpp
11         $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
12 cubemap: $(OBJS)
13         $(CXX) -o cubemap $(OBJS) $(LDLIBS)
14
15 DEPS=$(OBJS:.o=.d)
16 -include $(DEPS)
17
18 clean:
19         $(RM) cubemap $(OBJS) $(DEPS)
20