Added libstack files to Makefile

master
Aadhavan Srinivasan 2 years ago
parent 2c46754cb4
commit 97d1c9153b

@ -1,5 +1,5 @@
EXEC_FILE=main EXEC_FILE=main
TARGETS=$(EXEC_FILE).o message.o user.o message_helpers.o file_helpers.o TARGETS=$(EXEC_FILE).o message.o user.o message_helpers.o file_helpers.o stack.o
CFLAGS= CFLAGS=
@ -14,6 +14,7 @@ message.o: message.c
user.o: user.c user.o: user.c
message_helpers.o: message_helpers.c message_helpers.o: message_helpers.c
file_helpers.o: file_helpers.c file_helpers.o: file_helpers.c
stack.o: stack.c
$(TARGETS): $(TARGETS):
gcc $(CFLAGS) -c -o $@ $^ gcc $(CFLAGS) -c -o $@ $^

Loading…
Cancel
Save