X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=utils%2FMakefile;fp=utils%2FMakefile;h=04af119d4ea22016641414e8bbe86cfad4b01ef9;hp=e9220d31030db3f3a6643044ab4760b6ee6cfd32;hb=dc939895d3328edbec12fc741baa79030d38e018;hpb=ef4db3d5d210721dcbadcdff4685c5aaa169c443 diff --git a/utils/Makefile b/utils/Makefile index e9220d3..04af119 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -13,31 +13,38 @@ 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: +install: all $(INSTALL) -d $(sbindir) $(INSTALL) mgnokiidev $(sbindir) $(INSTALL) todologo $(bindir) - -install-strip: + $(INSTALL) sendsms $(bindir) + +install-strip: all $(INSTALL) -d $(sbindir) $(INSTALL) -s mgnokiidev $(sbindir) $(INSTALL) todologo $(bindir) - -install-suid: + $(INSTALL) sendsms $(bindir) + +install-suid: all $(INSTALL) -d $(sbindir) $(INSTALL) -o root -g gnokii -m 4750 mgnokiidev $(sbindir) $(INSTALL) todologo $(bindir) - -install-ss: + $(INSTALL) sendsms $(bindir) + +install-ss: all $(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