Undo last commit

This commit is contained in:
Anthony Wang 2020-05-25 01:56:46 +00:00 committed by repl.it user
parent 02702e30f3
commit ca235104c7
6 changed files with 1 additions and 31 deletions

View file

@ -1,2 +1,2 @@
language = "cpp"
run = "make; ./compress; rm compress"
run = "g++ src/*.cpp -o out -std=c++11; ./out; rm out"

View file

@ -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)

View file

@ -1,5 +0,0 @@
src/huffman.o: src/huffman.cpp src/huffman.h src/common.h
src/huffman.h:
src/common.h:

Binary file not shown.

View file

@ -1,5 +0,0 @@
src/main.o: src/main.cpp src/common.h src/huffman.h
src/common.h:
src/huffman.h:

Binary file not shown.