summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-09-28 10:27:39 +0530
committersinanmohd <sinan@firemail.cc>2023-09-28 16:17:21 +0530
commitd605727d4bb3b7ae19dc0227d55030a7ebc73148 (patch)
treeb183df7104eedaf8628985933d52df16d23df278 /Makefile
parent3647b6c1140cb9e0cebeab19e53c0294f966b19b (diff)
server: initHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
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