aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2020-05-25 01:56:46 +0000
committerrepl.it user2020-05-25 01:56:46 +0000
commitca235104c7f3516fb7f85d629d4910720842f492 (patch)
treed3db578159b04037e8882c4a18e3f42cd509729c
parent02702e30f3be09d07b7dc3cdf6cffaa50026164f (diff)
Undo last commit
-rw-r--r--.replit2
-rw-r--r--Makefile20
-rw-r--r--src/huffman.d5
-rw-r--r--src/huffman.obin145104 -> 0 bytes
-rw-r--r--src/main.d5
-rw-r--r--src/main.obin274424 -> 0 bytes
6 files changed, 1 insertions, 31 deletions
diff --git a/.replit b/.replit
index ab94f40..264b0de 100644
--- a/.replit
+++ b/.replit
@@ -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
deleted file mode 100644
index 65709f0..0000000
--- a/src/huffman.o
+++ /dev/null
Binary files differ
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
deleted file mode 100644
index 09b706f..0000000
--- a/src/main.o
+++ /dev/null
Binary files differ