diff options
author | Lara Maia | 2015-06-12 00:35:05 -0300 |
---|---|---|
committer | Lara Maia | 2015-06-12 00:35:05 -0300 |
commit | abdc9d5f3417ebeb79bfee03b40d7af710639035 (patch) | |
tree | bb05212c9b1d2a81cd19daeb23e4913536b09fa6 /makefile_update.patch | |
download | aur-abdc9d5f3417ebeb79bfee03b40d7af710639035.tar.gz |
Initial import
Diffstat (limited to 'makefile_update.patch')
-rw-r--r-- | makefile_update.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/makefile_update.patch b/makefile_update.patch new file mode 100644 index 000000000000..f1de2df896bc --- /dev/null +++ b/makefile_update.patch @@ -0,0 +1,23 @@ +--- Makefile.orig 2012-07-29 02:06:22.819373027 -0300 ++++ Makefile 2012-07-29 02:07:19.739370225 -0300 +@@ -1,5 +1,8 @@ ++prefix = /usr ++bindir = $(prefix)/bin + CC = gcc +-CFLAGS = -O2 #-DDEBUG -g ++INSTALL = install ++CFLAGS = -O2 -Wall #-DDEBUG -g + OBJFILES = cpuled.o + PROGRAM = cpuled + VERSION = 0.1 +@@ -7,6 +10,10 @@ + all: $(OBJFILES) + $(CC) $(CFLAGS) $(OBJFILES) -o $(PROGRAM) + ++install: all ++ $(INSTALL) -d $(DESTDIR)$(bindir) ++ $(INSTALL) -m755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) ++ + clean: + -rm $(OBJFILES) + -rm cpuled |