From 517839b1f94bdba3cb5f585a2886adeee30bc181 Mon Sep 17 00:00:00 2001 From: Kranklyboy Date: Mon, 16 Apr 2018 17:44:33 +0200 Subject: [PATCH] Updated for current project --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 493f5d0..b61eb72 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,13 @@ CC = gcc CFLAGS = -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g -c -all: server client +all: websh -server: server.o common.h - $(CC) $^ -o $@ - -client: client.o common.h +websh: websh.o $(CC) $^ -o $@ %.o: %.c $(CC) $(CFLAGS) $^ .PHONY clean: - rm -f common.h.ghc client.o server.o client server + rm -f websh.o websh