switched to cpp

This commit is contained in:
2023-10-23 12:19:51 +02:00
parent 1ee58a04e4
commit 6c6332bbfb
5 changed files with 61 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
SRC = main.c \
memory.c
SRC = main.cpp \
memory.cpp
OBJ = $(SRC:.c=.o)
NAME = Revird
CFLAGS = -Wall -Wextra -Wpedantic
@@ -7,7 +7,7 @@ CFLAGS = -Wall -Wextra -Wpedantic
all: $(NAME)
$(NAME): $(OBJ)
gcc $(SRC) $(CFLAGS) -o $(NAME)
g++ $(SRC) $(CFLAGS) -o $(NAME)
mv $(NAME) ../../.
clean: