diff --git a/Makefile b/Makefile
index 0cf837fca0245137b33b085c102ee12f597ed28f..1366edff5be45d6a2add88e32352703df8634c37 100644
--- a/Makefile
+++ b/Makefile
@@ -2,22 +2,8 @@ CC		= gcc
 CFLAGS		= -g -Wall
 LIBS		= -ljson-c -lubox -lubus -luci -lcurl -lmobile
 
-PAOBJS		= parse_args.o
-PASRCS		= parse_args.c
-HSRCS		= parse_args.h
 
-all: common libmobile1 libmobile2 dongle_apn dongle_pin dongle_network
-
-COBJS		= common.o
-CSRCS		= common.c
-common: ${COBJS}
-	${CC} -c ${CSRCS} -o ${COBJS}
-
-#gcc -shared -o libhello.so -fPIC hello.c
-#MOBJS		= libmobile.so
-#MSRCS		= libmobile.c
-#libmobile: ${MOBJS}
-#	${CC} -shared -o ${MOBJS} -fPIC ${MSRCS}
+all: libmobile1 libmobile2 
 
 MOBJS		= libmobile.o
 MSRCS		= libmobile.c
@@ -29,23 +15,8 @@ MSRCS		= libmobile.c
 libmobile2: ${MOBJS}
 	${CC} ${MOBJS} -shared -o libmobile.so
 
-
-DAOBJS		= dongle_apn.o
-DASRCS		= dongle_apn.c
-dongle_apn: ${DAOBJS}
-	 ${CC} ${CFLAGS} ${DAOBJS} ${COBJS} -o dongle_apn  ${LIBS}
-
-DPOBJS		= dongle_pin.o
-DPSRCS		= dongle_pin.c
-dongle_pin: ${DPOBJS}
-	 ${CC} ${CFLAGS} ${DPOBJS} ${COBJS} -o dongle_pin  ${LIBS}
-
-DNOBJS		= dongle_network.o
-DNSRCS		= dongle_network.c
-dongle_network: ${DNOBJS}
-	 ${CC} ${CFLAGS} ${DNOBJS} ${COBJS} -o dongle_network  ${LIBS}
 clean:
-	rm -f dongle_apn dongle_pin dongle_network *.o *.so
+	rm -f *.o *.so
 
 codingstyle:
 	checkpatch.pl --no-tree -f *.c --terse