X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=utils%2FMakefile;h=e9220d31030db3f3a6643044ab4760b6ee6cfd32;hp=04af119d4ea22016641414e8bbe86cfad4b01ef9;hb=refs%2Fheads%2Fats;hpb=a2dfc99dc499ea8600bf5178f8122125d7d7d557 diff --git a/utils/Makefile b/utils/Makefile index 04af119..e9220d3 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -13,38 +13,31 @@ OBJS = mgnokiidev.o all: mgnokiidev -mgnokiidev: $(OBJS) +mgnokiidev: $(OBJS) -makelib: $(OBJS) - $(CC) $(LDFLAGS) $(OBJS) -o mgnokiidev - clean: $(RM) $(OBJS) *~ depend mgnokiidev *.exe core *.bak -install: all +install: $(INSTALL) -d $(sbindir) $(INSTALL) mgnokiidev $(sbindir) $(INSTALL) todologo $(bindir) - $(INSTALL) sendsms $(bindir) - -install-strip: all + +install-strip: $(INSTALL) -d $(sbindir) $(INSTALL) -s mgnokiidev $(sbindir) $(INSTALL) todologo $(bindir) - $(INSTALL) sendsms $(bindir) - -install-suid: all + +install-suid: $(INSTALL) -d $(sbindir) $(INSTALL) -o root -g gnokii -m 4750 mgnokiidev $(sbindir) $(INSTALL) todologo $(bindir) - $(INSTALL) sendsms $(bindir) - -install-ss: all + +install-ss: $(INSTALL) -d $(sbindir) $(INSTALL) -o root -g gnokii -m 4750 -s mgnokiidev $(sbindir) $(INSTALL) todologo $(bindir) - $(INSTALL) sendsms $(bindir) - + depend dep: $(CC) $(CFLAGS) -MM *.c >depend