From d605727d4bb3b7ae19dc0227d55030a7ebc73148 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 28 Sep 2023 10:27:39 +0530 Subject: server: init --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9748866..05c84fa 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,13 @@ -OBJECTS = globals.o CC = gcc -globals: $(OBJECTS) - $(CC) -o globals $(OBJECTS) -lwayland-client +all: server globals + +globals: globals.o util.o + $(CC) -o globals globals.o -lwayland-client +server: server.o util.o + $(CC) -o server server.o -lwayland-server +util.o: util.h .PHONY: clean clean: - rm -rf globals *.o + rm -rf globals server *.o -- cgit v1.2.3