aboutsummaryrefslogtreecommitdiff
path: root/week-3/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'week-3/makefile')
l---------[-rw-r--r--]week-3/makefile25
1 files changed, 1 insertions, 24 deletions
diff --git a/week-3/makefile b/week-3/makefile
index 3b71b5b..a4e84c6 100644..120000
--- a/week-3/makefile
+++ b/week-3/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