2008-10-02 15:45:46 +02:00
|
|
|
OBJ=systest.o fault_model.o extra.o db_sym.o db_disasm.o db_access.o read_nlist.o
|
|
|
|
OBJ_RND=rnd.o
|
|
|
|
OBJ_SOCKET=socket.o
|
2008-10-02 15:43:32 +02:00
|
|
|
|
2008-10-02 15:45:46 +02:00
|
|
|
DEFINES=-DCONFIG_SWIFI
|
|
|
|
CFLAGS=$(DEFINES)
|
2008-10-02 15:43:32 +02:00
|
|
|
|
2008-10-02 15:45:46 +02:00
|
|
|
all: swifi rnd socket
|
2008-10-02 15:43:32 +02:00
|
|
|
|
2010-02-19 17:15:25 +01:00
|
|
|
install: swifi
|
|
|
|
install swifi /usr/bin/swifi
|
|
|
|
|
2008-10-02 15:45:46 +02:00
|
|
|
swifi: $(OBJ)
|
|
|
|
$(CC) -o swifi $(OBJ)
|
2008-10-02 15:43:32 +02:00
|
|
|
|
2008-10-02 15:45:46 +02:00
|
|
|
rnd: $(OBJ_RND)
|
|
|
|
$(CC) -o $@ $(OBJ_RND)
|
2008-10-02 15:43:32 +02:00
|
|
|
|
2008-10-02 15:45:46 +02:00
|
|
|
socket: $(OBJ_SOCKET)
|
|
|
|
$(CC) -o $@ $(OBJ_SOCKET)
|
2008-10-02 15:43:32 +02:00
|
|
|
|
2008-10-02 15:45:46 +02:00
|
|
|
clean:
|
|
|
|
rm -f swifi $(OBJ)
|