mirror of https://github.com/aamine/cbc
* lib/Makefile: parameterize.
git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4047 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
916762da56
commit
9fcae829f5
|
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Sep 23 22:45:00 2008 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
|
* lib/Makefile: parameterize.
|
||||||
|
|
||||||
Tue Sep 23 20:42:38 2008 Minero Aoki <aamine@loveruby.net>
|
Tue Sep 23 20:42:38 2008 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
* unit: new unit test suite.
|
* unit: new unit test suite.
|
||||||
|
|
|
||||||
16
lib/Makefile
16
lib/Makefile
|
|
@ -1,10 +1,16 @@
|
||||||
|
CBC = ../bin/cbc
|
||||||
|
CBFLAGS = -O
|
||||||
|
TARGET = libcbc.a
|
||||||
|
OBJS = libcbc.o
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .cb .o
|
||||||
|
|
||||||
libcbc.a: libcbc.o
|
.cb.o:
|
||||||
ar cr libcbc.a libcbc.o
|
$(CBC) $(CBFLAGS) -c $< -o $@
|
||||||
|
|
||||||
libcbc.o: libcbc.cb
|
$(TARGET): $(OBJS)
|
||||||
../bin/cbc -O -c $< -o $@
|
ar cr $(TARGET) $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f libcbc.a *.o *.s
|
rm -f $(TARGET) *.o *.s
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue