blob: 0d314995b730d1eac48ef7e959427a7edac27192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
LIBRARY := lib/libCppnExplorer.a
SOURCES := $(wildcard src/*.cpp)
OBJECTS := $(patsubst src/%.cpp,obj/%.o,$(SOURCES))
DEPS := $(patsubst %.o,%.d,$(OBJECTS))
CFLAGS := -c -O3 -Wall -std=c++11 -MMD -Iinclude -I../../include -IC:/SFML/include
LFLAGS := rvs
all: $(OBJECTS)
ar $(LFLAGS) $(LIBRARY) $(OBJECTS)
-include $(DEPS)
$(OBJECTS): $(patsubst obj/%.o,src/%.cpp,$@)
g++ $(CFLAGS) $(patsubst obj/%.o,src/%.cpp,$@) -o $@
clean:
del lib\*.a
del obj\*.o
del obj\*.d
|