aboutsummaryrefslogtreecommitdiff
path: root/week-6/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'week-6/makefile')
l---------[-rw-r--r--]week-6/makefile25
1 files changed, 1 insertions, 24 deletions
diff --git a/week-6/makefile b/week-6/makefile
index 3b71b5b..a4e84c6 100644..120000
--- a/week-6/makefile
+++ b/week-6/makefile
@@ -1,24 +1 @@
-CC = gcc
-LD = gcc
-RM = rm -f
-TARGET = main
-
-LFLAGS += -lstdc++
-
-SRCS := $(wildcard *.cpp)
-OBJS := $(patsubst %.cpp,%.o, $(SRCS))
-
-all: main
-
-%.o: %.cpp
- $(CC) -c $(CFLAGS) $< -o $@
-
-$(TARGET): $(OBJS)
- $(LD) $^ $(LFLAGS) -o $@
-
-clean:
- $(RM) $(TARGET) $(OBJS)
-
-compile_commands: clean
- compiledb make
-
+../week.mk \ No newline at end of file