summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-08-26 21:03:06 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-08-26 21:06:30 +0200
commit7731613f50eb45e5af9cd96e05fc7e43dc3643d1 (patch)
tree53661e63c18307c262855b4aabb0b221fc6934ee /Makefile
parent3c6e5ff32fd24acf5e1deb62860ddd7b864066b3 (diff)
Remove Makefile and add minimalistic README.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 6358394..0000000
--- a/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-all: libcppbuild.a cppbuild
-
-SRC = \
- libcppbuild.cc \
- task_cc.cc \
- task_ld.cc \
- task_ar.cc \
- task_so.cc \
- task.cc \
- execute.cc \
- configure.cc \
- rebuild.cc \
- tasks.cc \
- build.cc \
-
-OBJ = $(patsubst %.cc,%.o,$(SRC))
-
-DEPFILES := $(patsubst %.cc,%.d,$(SRC))
-$(DEPFILES):
-
-include $(wildcard $(DEPFILES))
-
-CXXFLAGS = -Wall -g -O3 -std=c++17 -I.
-
-%.o: %.cc
- g++ -MMD $(CXXFLAGS) -c $< -o $@
-
-libcppbuild.a: $(OBJ)
- ar rcs $@ $(OBJ)
-
-cppbuild: libcppbuild.a
- g++ $(CXXFLAGS) -pthread libcppbuild.a -o $@
-
-clean:
- rm -f libcppbuild.a $(OBJ) cppbuild $(DEPFILES)