diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |