projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split am7xxx functions and definitions
[libam7xxx.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
20b44c4
..
514621b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-42,12
+42,23
@@
bindir := $(PREFIX)/sbin
all: picoproj
CFLAGS += -D_BSD_SOURCE # for htole32()
all: picoproj
CFLAGS += -D_BSD_SOURCE # for htole32()
+CFLAGS += -D_POSIX_C_SOURCE=2 # for getopt()
-picoproj: picoproj.o
+picoproj: picoproj.o
am7xxx.o
install: picoproj
install -d $(DESTDIR)$(bindir)
install -m 755 picoproj $(DESTDIR)$(bindir)
install: picoproj
install -d $(DESTDIR)$(bindir)
install -m 755 picoproj $(DESTDIR)$(bindir)
+BACKUP_PREFIX=libpicoproj-$(shell date +%Y%m%d%H%M)
+backup:
+ git archive \
+ -o $(BACKUP_PREFIX).tar.gz \
+ --prefix=$(BACKUP_PREFIX)/ \
+ HEAD
+
+changelog:
+ git log --pretty="format:%ai %aN <%aE>%n%n%x09* %s%d%n" > ChangeLog
+
clean:
rm -rf *~ *.o picoproj
clean:
rm -rf *~ *.o picoproj