libtest/Makefile
changeset 66 2b4f786d9073
parent 7 a1aa30f0f904
equal deleted inserted replaced
65:76514757b0d6 66:2b4f786d9073
     1      CC = gcc
     1      CC = gcc
     2  CFLAGS =-Wall -O2 -fPIC
     2  CFLAGS = -Wall -O2 -fPIC
     3 LDFLAGS = -Llib -ltest
     3 LDFLAGS = -Llib -ltest
     4 OBJECTS = func1.o func2.o
     4 OBJECTS = func1.o func2.o
     5 
     5 
     6 .c.o:
     6 .c.o:
     7 	$(CC) -c $(CFLAGS) -shared $<
     7 	$(CC) -c $(CFLAGS) -shared $<