Little fix.
[irreco.git] / irtrans / shlib / src / makefile
bloba0bb08040f9a67d044b54586704db49253f9d418
1 SSHELL = /bin/sh
3 CC = gcc
5 CFLAGS = -fpic
6 CPPFLAGS = -DLINUX
7 LDFLAGS =
8 LIBS =
10 DLL_OBJS = IRTransDLL.o
12 libIRTrans.so: $(DLL_OBJS)
13 $(CC) -shared $(CFLAGS) $(DLL_OBJS) -o libIRTrans.so $(LDFLAGS)
15 dlltest: dlltest.o
16 $(CC) -m32 dlltest.o -L. -lIRTrans -o dlltest
18 clean:
19 - rm $(DLL_OBJS) libIRTrans.so
21 %.o: %.c IRTransDLL.h ../Common/network.h ../Common/remote.h
22 $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@