From 4c356b2b97ed62b7b4f0a54ade96c0051f3f1f6d Mon Sep 17 00:00:00 2001 From: Christopher Canel Date: Wed, 24 Apr 2024 15:38:28 +0000 Subject: [PATCH] Makefile --- ratemon/runtime/new/client_server/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ratemon/runtime/new/client_server/Makefile b/ratemon/runtime/new/client_server/Makefile index 73603de..e63b86e 100644 --- a/ratemon/runtime/new/client_server/Makefile +++ b/ratemon/runtime/new/client_server/Makefile @@ -2,7 +2,7 @@ OUTPUT = .output CC = gcc CXX = g++ CFLAGS = -g -std=c17 -Wall -Wextra -CXXFLAGS = -g -std=c++17 -Wall -Wextra +CXXFLAGS = -g -std=c++20 -Wall -Wextra DEPS = common.h APPS = client server INTERPS = libinterptest libinterptest_cpp @@ -11,7 +11,7 @@ INTERPS = libinterptest libinterptest_cpp all: $(APPS) $(INTERPS) $(OUTPUT): - mkdir -p $(@) + mkdir -p $@ $(OUTPUT)/%.o: %.c $(DEPS) | $(OUTPUT) $(CC) $(CFLAGS) -c -o $@ $< @@ -33,6 +33,9 @@ interp_server : server $(OUTPUT)/libinterptest.so interp_server_cpp : server $(OUTPUT)/libinterptest_cpp.so LD_PRELOAD=$(OUTPUT)/libinterptest_cpp.so ./server +run_server: server + ./server + run_client: client ./client