From 6a4ae1f372e5d134c6e43247f81508637cdcfce6 Mon Sep 17 00:00:00 2001 From: ProsperousPotato Date: Mon, 28 Jul 2025 22:05:43 +0100 Subject: change xwinwrap.c to main.c --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bbddd9d..3e877ac 100644 --- a/Makefile +++ b/Makefile @@ -14,17 +14,19 @@ prefix = /usr/local bindir = $(prefix)/bin CC = cc -RM = rm -f INSTALL = install all: xwinwrap -install: xwinwrap +xwinwrap: main.c Makefile + $(CC) $(CFLAGS) $(LDLIBS) -o $@ main.c + +install: all $(INSTALL) -d -m 755 '$(DESTDIR)$(bindir)' $(INSTALL) xwinwrap '$(DESTDIR)$(bindir)' clean: - $(RM) xwinwrap + rm -f xwinwrap uninstall: rm -f '$(DESTDIR)$(bindir)/xwinwrap' -- cgit v1.2.3