Skip to content
Snippets Groups Projects
Commit eba9bb58 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Branch for main development + reorganized files.

An actual (working) development version should be always in this
  branch.
For subtasks, new branches will be created. For now all the old
  files are here, although this is actually a subtask. Later,
  we will remove all the old code from this branch and move it to
  some other branch.
The master branch should be used for working or stable versions.

Added .gitignore file.
Created basic directory structure for the project and changed
  Makefile accordingly.
Added QtCreator project files (CuteDNS.*).
parent 5fd4ebc1
Branches
Tags
No related merge requests found
*~
bin/*
tmp/*
output/*
// ADD PREDEFINED MACROS HERE!
[General]
src/bitset.c
src/bitset.h
src/common.c
src/common.h
src/cuckoo-hash-table.c
src/cuckoo-hash-table.h
src/cuckoo-test.c
src/cuckoo-test.h
src/dns-simple.c
src/dns-simple.h
src/hash-functions.c
src/hash-functions.h
src/main.c
src/socket-manager.c
src/socket-manager.h
src/tests.c
src/tests.h
src/universal-system.c
src/universal-system.h
Makefile
src
\ No newline at end of file
......@@ -9,10 +9,10 @@ COL_CYAN = \033[01;36m
COL_WHITE = \033[01;37m
COL_END = \033[0m
INC_DIRS = ./
SRC_DIRS = ./
OBJ_DIR = ./
BIN_DIR = ./
INC_DIRS = src/
SRC_DIRS = src/
OBJ_DIR = tmp/
BIN_DIR = bin/
VPATH += ${SRC_DIRS} ${OBJ_DIR}
......@@ -30,7 +30,7 @@ all:cuckoo-hash
DEPEND = $(CC) $(addprefix -I ,$(INC_DIRS)) -MM $(SRC_FILES) 2>/dev/null | sed "s%^\([^\ \t\n]*\.o\)%$(OBJ_DIR)/\1%"
Makefile.depend:
# @echo ${DEPEND}
# @echo ${DEPEND}
@$(DEPEND) > Makefile.depend
# cuckoo hash
......@@ -38,7 +38,7 @@ cuckoo-hash: Makefile.depend $(OBJS)
@echo "$(COL_WHITE)Linking... $(COL_YELLOW)${BIN_DIR}$@$(COL_END) <-- $(COL_CYAN)$(OBJS)$(COL_END)"
@$(CC) $(LDFLAGS) $(OBJS) -o ${BIN_DIR}$@
#.PHONY: Makefile.depend
.PHONY: Makefile.depend
.INTERMEDIATE: Makefile.depend
-include Makefile.depend
......
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment