X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=old-door-deamon%2Fledstats-0.3.1%2FMakefile;fp=old-door-deamon%2Fledstats-0.3.1%2FMakefile;h=d388fe38a32172622c1e939654b3cbdc01dd9339;hb=449ec160563729c65a6210431ba86eb463ed6373;hp=0000000000000000000000000000000000000000;hpb=02329ab3fb38d1f22f7c910be92ae4388a132b01;p=svn42.git diff --git a/old-door-deamon/ledstats-0.3.1/Makefile b/old-door-deamon/ledstats-0.3.1/Makefile new file mode 100644 index 0000000..d388fe3 --- /dev/null +++ b/old-door-deamon/ledstats-0.3.1/Makefile @@ -0,0 +1,34 @@ +# Generated automatically from Makefile.in by configure. +# LED Status makefile created by Jeremy Garff +# List of sources, objects, and program. + +OBJS = ledcpu.o +PROG = ledstats + +# List of compiling options. + +CC = gcc +CFLAGS = -g -Wall +LDFLAGS = -lpthread -lparportled + +prefix = /usr/local +exec_prefix = ${prefix} +sbindir = ${exec_prefix}/sbin + +# Linking the executable. + +$(PROG): $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) + +# Cleanup (removes files that can be rebuilt). + +clean: + -rm -f $(PROG) $(OBJS) *~ + -rm -f Makefile config.cache config.log config.status + +install: + install -c -d $(sbindir) + install -c ledstats $(sbindir) + +uninstall: + rm -f $(sbindir)/ledstats