From 037e1f89ec530c2c851dc4ab60a42c6de82e9042 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Tue, 19 Sep 2023 23:06:55 -0400 Subject: fix make file --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 23d8e32..dd41959 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ CC = gcc -# CFLAGS = -std=c99 -target x86_64-apple-darwin20 -g -# CFLAGS = -std=c99 -Wall -g - -default: all +CFLAGS = -o all: server client -server: server.c - $(CC) $(CFLAGS) -o snowcast_server server.c +server: + $(CC) $(CFLAGS) snowcast_server server.c + +client: + $(CC) $(CFLAGS) snowcast_client client.c -client: client.c - $(CC) $(CFLAGS) -o snowcast_control client.c \ No newline at end of file +clean: + rm -f server client \ No newline at end of file -- cgit v1.2.3-70-g09d2