diff options
author | Anthony Wang | 2020-05-25 01:56:46 +0000 |
---|---|---|
committer | repl.it user | 2020-05-25 01:56:46 +0000 |
commit | ca235104c7f3516fb7f85d629d4910720842f492 (patch) | |
tree | d3db578159b04037e8882c4a18e3f42cd509729c | |
parent | 02702e30f3be09d07b7dc3cdf6cffaa50026164f (diff) |
Undo last commit
-rw-r--r-- | .replit | 2 | ||||
-rw-r--r-- | Makefile | 20 | ||||
-rw-r--r-- | src/huffman.d | 5 | ||||
-rw-r--r-- | src/huffman.o | bin | 145104 -> 0 bytes | |||
-rw-r--r-- | src/main.d | 5 | ||||
-rw-r--r-- | src/main.o | bin | 274424 -> 0 bytes |
6 files changed, 1 insertions, 31 deletions
@@ -1,2 +1,2 @@ language = "cpp" -run = "make; ./compress; rm compress"
\ No newline at end of file +run = "g++ src/*.cpp -o out -std=c++11; ./out; rm out"
\ No newline at end of file diff --git a/Makefile b/Makefile deleted file mode 100644 index da6af72..0000000 --- a/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -TARGET ?= compress -SRC_DIRS ?= ./src - -SRCS := $(shell find $(SRC_DIRS) -name *.cpp -or -name *.c -or -name *.s) -OBJS := $(addsuffix .o,$(basename $(SRCS))) -DEPS := $(OBJS:.o=.d) - -INC_DIRS := $(shell find $(SRC_DIRS) -type d) -INC_FLAGS := $(addprefix -I,$(INC_DIRS)) - -CPPFLAGS ?= $(INC_FLAGS) -MMD -MP -std=c++11 - -$(TARGET): $(OBJS) - $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LOADLIBES) $(LDLIBS) - -.PHONY: clean -clean: - $(RM) $(TARGET) $(OBJS) $(DEPS) - --include $(DEPS) diff --git a/src/huffman.d b/src/huffman.d deleted file mode 100644 index 390b68f..0000000 --- a/src/huffman.d +++ /dev/null @@ -1,5 +0,0 @@ -src/huffman.o: src/huffman.cpp src/huffman.h src/common.h - -src/huffman.h: - -src/common.h: diff --git a/src/huffman.o b/src/huffman.o Binary files differdeleted file mode 100644 index 65709f0..0000000 --- a/src/huffman.o +++ /dev/null diff --git a/src/main.d b/src/main.d deleted file mode 100644 index 7ae82ce..0000000 --- a/src/main.d +++ /dev/null @@ -1,5 +0,0 @@ -src/main.o: src/main.cpp src/common.h src/huffman.h - -src/common.h: - -src/huffman.h: diff --git a/src/main.o b/src/main.o Binary files differdeleted file mode 100644 index 09b706f..0000000 --- a/src/main.o +++ /dev/null |