-
Notifications
You must be signed in to change notification settings - Fork 277
/
Makefile.in
35 lines (26 loc) · 644 Bytes
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Makefile.in generated by hand.
# @configure_input@
CC = @CC@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXLD = $(CXX)
CXXCPP = @CXXCPP@
CXXFLAGS = @CXXFLAGS@ -O3 -Wall -Wextra -fPIC
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
MKDIR_P = @MKDIR_P@
EXEEXT = @EXEEXT@
OBJEXT = @OBJEXT@
$(shell $(MKDIR_P) bin)
all: bin/2048$(EXEEXT) bin/2048.so
bin/%$(EXEEXT): bin/%.$(OBJEXT)
$(CXXLD) $(CXXFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
bin/%.so: bin/%.$(OBJEXT)
$(CXXLD) $(CXXFLAGS) -shared $(LDFLAGS) $^ $(LDLIBS) -o $@
bin/%.$(OBJEXT) : %.cpp
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
clean:
$(RM) -rf bin/*
.PHONY: all clean