This commit is contained in:
2007-05-25 15:56:13 +00:00
parent 33984922bd
commit c81a591889
2 changed files with 24 additions and 0 deletions

6
src/global.mk Normal file
View File

@ -0,0 +1,6 @@
MACHINE=MAC_OS_X
%.o: %.c
gcc -D$(MACHINE) -c -O2 -o $@ $<

18
src/libapat/Makefile Normal file
View 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 $@ $?