Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
1. Rework build system - new simple makefiles work in all popular
make programs.

2. Remove autocrap (autotools related stuff).

3. Make libefp simpler to use - just add all .c files from src
directory to your project or link with libefp.a.

4. Prefix all exported symbols in libefp.a with efp_ to avoid name
collisions.

5. Move web stuff out of main source tree.
  • Loading branch information
ilyak committed Feb 21, 2013
1 parent 648a18b commit 3e78fdd
Show file tree
Hide file tree
Showing 60 changed files with 1,166 additions and 3,505 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
.gitattributes export-ignore
.gitignore export-ignore
1,809 changes: 0 additions & 1,809 deletions Doxyfile

This file was deleted.

166 changes: 0 additions & 166 deletions GNUmakefile.am

This file was deleted.

30 changes: 22 additions & 8 deletions Makefile
@@ -1,11 +1,25 @@
SUBDIR = common src V= 0.9.8-beta


.if !defined(WITHOUT_EFPMD) all: efpmd tests
SUBDIR += efpmd
.endif


.if !defined(WITHOUT_TESTS) efpmd: libefp
SUBDIR += tests cd efpmd/src && $(MAKE)
.endif


.include <subdir.mk> tests: libefp
cd tests && $(MAKE)

libefp:
cd src && $(MAKE)

tags clean:
cd src && $(MAKE) $@
cd efpmd/src && $(MAKE) $@
cd tests && $(MAKE) $@

check: tests
@./tests/test

dist:
git archive --format=tar.gz --prefix=libefp-$V/ -o libefp-$V.tar.gz HEAD

.PHONY: all efpmd tests libefp tags clean check dist
5 changes: 0 additions & 5 deletions NEWS

This file was deleted.

1 change: 0 additions & 1 deletion VERSION

This file was deleted.

19 changes: 0 additions & 19 deletions autogen.sh

This file was deleted.

21 changes: 0 additions & 21 deletions common/Makefile

This file was deleted.

67 changes: 0 additions & 67 deletions common/compat.c

This file was deleted.

14 changes: 0 additions & 14 deletions common/compat.h

This file was deleted.

0 comments on commit 3e78fdd

Please sign in to comment.