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