You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
371 B
23 lines
371 B
18 years ago
|
# libmc makefile
|
||
|
MCOBJ = os_calls.o mc.o
|
||
|
|
||
|
DEFINES =
|
||
|
|
||
|
CFLAGS = -Wall -O2 -I../common -fPIC $(DEFINES)
|
||
|
#CFLAGS += -DXRDP_DEBUG
|
||
|
C_OS_FLAGS = $(CFLAGS) -c
|
||
|
LDFLAGS = -shared
|
||
|
LIBS = -ldl
|
||
|
CC = gcc
|
||
|
|
||
|
all: mc1
|
||
|
|
||
|
mc1: $(MCOBJ)
|
||
|
$(CC) $(LDFLAGS) -o libmc.so $(MCOBJ) $(LIBS)
|
||
|
|
||
|
clean:
|
||
|
rm -f $(MCOBJ) libmc.so
|
||
|
|
||
|
os_calls.o: ../common/os_calls.c
|
||
|
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
|