add structure for code refactoring (that will take place sometime in the future)
This commit is contained in:
parent
1bdaf01f9c
commit
4d282ae608
|
@ -1,2 +1,4 @@
|
|||
tls
|
||||
tls.o
|
||||
tls2
|
||||
tls2.o
|
||||
|
|
8
Makefile
8
Makefile
|
@ -3,12 +3,20 @@ CFLAGS = -g
|
|||
INCLUDE = -I /usr/local/include -L /usr/local/lib
|
||||
LIBS = -lncurses -ltls
|
||||
|
||||
default: tls tls2
|
||||
|
||||
tls: tls.o
|
||||
$(CC) -o tls tls.o $(LIBS) $(INCLUDE)
|
||||
|
||||
tls2: tls2.o
|
||||
$(CC) -o tls2 tls2.o $(LIBS) $(INCLUDE)
|
||||
|
||||
deb:
|
||||
gcc -ggdb -o tls tls.c $(LIBS) $(INCLUDE) -Wall -Wextra -fsanitize=address
|
||||
gcc -ggdb -o tls2 tls2.c $(LIBS) $(INCLUDE) -Wall -Wextra -fsanitize=address
|
||||
|
||||
clean:
|
||||
rm tls.o
|
||||
rm tls
|
||||
rm tls2.o
|
||||
rm tls2
|
||||
|
|
Loading…
Reference in New Issue