#
# Copyright 2002 Sony Corporation 
#
# Permission to use, copy, modify, and redistribute this software for
# non-commercial use is hereby granted.
#
# This software is provided "as is" without warranty of any kind,
# either expressed or implied, including but not limited to the
# implied warranties of fitness for a particular purpose.
#

CC=g++
CFLAGS=
LIBS=

TARGET = wlan_connect

all: $(TARGET)
	(cd ../bin; \rm -rf $(TARGET); ln -s ../wlan_connect/$(TARGET) ./)

%.o: %.cc
	$(CC) $(CFLAGS) -o $@ -c $^

$(TARGET): $(TARGET).o
	$(CC) -o $@ $^ $(LIBS)

clean:
	rm -f $(TARGET) *.o
	rm -f ../bin/$(TARGET)