git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/branches/refactoring@16 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
6
src/global.mk
Normal file
6
src/global.mk
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
MACHINE=MAC_OS_X
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
gcc -D$(MACHINE) -c -O2 -o $@ $<
|
||||||
|
|
18
src/libapat/Makefile
Normal file
18
src/libapat/Makefile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
include ../global.mk
|
||||||
|
|
||||||
|
SOURCES = apat_parse.c \
|
||||||
|
apat_search.c \
|
||||||
|
libstki.c
|
||||||
|
|
||||||
|
OBJECTS= $(patsubst %.c,%.o,$(SOURCES))
|
||||||
|
|
||||||
|
LIBFILE= libapat.a
|
||||||
|
|
||||||
|
all: $(LIBFILE)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(OBJECTS) $(LIBFILE)
|
||||||
|
|
||||||
|
$(LIBFILE): $(OBJECTS)
|
||||||
|
ar -cr $@ $?
|
||||||
|
|
Reference in New Issue
Block a user