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