mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
Remove makefiles
This commit is contained in:
parent
29a21c3bca
commit
e7302aa7c4
10
makefile
10
makefile
@ -1,10 +0,0 @@
|
||||
install:
|
||||
cp -r ./include/ss/ /usr/local/include/
|
||||
|
||||
uninstall:
|
||||
rm -rf /usr/local/include/ss/*.hpp
|
||||
|
||||
test:
|
||||
cd test && $(MAKE) -j4 && $(MAKE) test && $(MAKE) clean
|
||||
|
||||
.PHONY: install test
|
@ -1,26 +0,0 @@
|
||||
CXX=clang++
|
||||
CXXFLAGS=-Wall -Wextra -std=c++17 -lstdc++fs
|
||||
TESTS=test_parser test_converter test_extractions
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
# pattern rule, replacing built-in implicit .cpp-suffix rule
|
||||
%: %.cpp
|
||||
$(CXX) $(CXXFLAGS) $< -o $@
|
||||
|
||||
debug: CXXFLAGS += -g
|
||||
debug: all
|
||||
|
||||
clean:
|
||||
@$(RM) -fv $(TESTS)
|
||||
@$(RM) *.csv
|
||||
|
||||
test:
|
||||
@for i in $(TESTS); do \
|
||||
./$$i; \
|
||||
done
|
||||
|
||||
# don't use any implicit rules
|
||||
.SUFFIXES:
|
||||
# these rules won't actually build the targets they're named after
|
||||
.PHONY: all clean run debug
|
Loading…
Reference in New Issue
Block a user