X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=utils%2FMakefile;fp=utils%2FMakefile;h=e9220d31030db3f3a6643044ab4760b6ee6cfd32;hp=04af119d4ea22016641414e8bbe86cfad4b01ef9;hb=1379b6d01c3c3bd082a8ab32433450d8a2f3419c;hpb=a363234939c6030f24d092e9d4d97ee40f50ce03 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