diff options
-rw-r--r-- | Makefile | 25 |
1 files changed, 4 insertions, 21 deletions
@@ -1,25 +1,8 @@ include config.mk -CFLAGS+=-I${WIRESHARKDIR} -DHAVE_STDARG_H -DHAVE_CONFIG_H -g -OBJECTS:=src/packet-isi.o \ - src/plugin.o \ - src/isi-sim.o \ - src/isi-simauth.o \ - src/isi-network.o \ - src/isi-gps.o \ - src/isi-ss.o \ - src/isi-gss.o \ - src/isi-sms.o \ - src/isi-mtc.o \ - src/isi-nameservice.o \ - src/isi-radiosettings.o \ - src/isi-phoneinfo.o \ - src/isi-call.o \ - src/isi-light.o \ - src/isi-commgr.o \ - src/isi-gpds.o \ - src/isi-pipe.o \ - src/isi-selftest.o +CFLAGS +=-I${WIRESHARKDIR} -DHAVE_STDARG_H -DHAVE_CONFIG_H -g -Wall -Wno-unused +SOURCES := $(wildcard src/*.c) +OBJECTS := $(patsubst %.c, %.o, $(SOURCES)) all: isi.so @@ -32,7 +15,7 @@ isi.so: $(OBJECTS) @$(CC) -o $@ -shared -Wl,-soname,$@ $^ clean: - @rm -f isi.so src/*.o + @rm -f isi.so $(OBJECTS) install: isi.so install isi.so $(DESTDIR)${PREFIX}/${PLUGINDIR} |