OSSP CVS Repository

ossp - ossp-pkg/ex/Makefile
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/ex/Makefile

CC      = /usr/opkg/bin/gcc
CFLAGS  = -Wall -O2 -I.
LDFLAGS = 
AR      = ar
RANLIB  = ranlib

all: libex.a ex_test

ex_test: ex_test.o libex.a
	$(CC) $(LDFLAGS) -o ex_test ex_test.o libex.a

libex.a: ex.o
	rm -f $@
	$(AR) cr $@ ex.o
	$(RANLIB) $@

clean:
	rm -f ex_test *.a *.o *.core

check: ex_test
	./ex_test


CVSTrac 2.0.1