summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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 68c986c..0000000
--- a/makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# Debug mode:
-# DEBUG = yes
-
-CC = g++
-LIB = libtexo.a
-
-CFLAGS = -Wall
-ifeq '$(DEBUG)' 'yes'
-CFLAGS += -g -O0
-else
-CFLAGS += -O3
-endif
-
-SRC_DIR = src
-SRC = $(wildcard $(SRC_DIR)/*.cpp)
-OBJ = $(SRC:.cpp=.o)
-
-
-default: $(LIB)
-
-ifneq "clean" "$(MAKECMDGOALS)"
--include deps.mk
-endif
-
-deps.mk: $(SRC)
- $(CC) -MM $^ > $@
-
-%.o: %.cpp %.h
- $(CC) $(CFLAGS) -c $< -o $@
-
-$(LIB): $(OBJ)
- ar rcs $@ $^
-
-clean:
- rm -f $(OBJ) $(LIB) deps.mk