diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-28 22:05:43 +0100 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-28 22:05:43 +0100 |
| commit | 6a4ae1f372e5d134c6e43247f81508637cdcfce6 (patch) | |
| tree | cf494425e88ce90116892f5cc5d94a8f28e823fc /Makefile | |
| parent | 27b589b14bfec5008b2b7b7ec0df0056024099c8 (diff) | |
change xwinwrap.c to main.c
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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' |
