INCLUDE = ../../include/

OBJECTS_SY546 = switchChannels2.o

COPTS   = -O2 -Wall -W -Wpointer-arith -Wcast-qual \
          -Wstrict-prototypes -Wmissing-prototypes \
          -Wmissing-declarations -Winline -Wcast-align \
	  -I$(INCLUDE)

# Link-time flags to use
LDFLAGS= 
# Additional link libraries
LIBS= -lhscaenet
# For gdb
CFLAGS=-g

%.o: %.c  
	gcc $(COPTS) $< -c

switchChannels2: $(OBJECTS_SY546)
	gcc $(LDFLAGS) $^ $(LIBS) -o $@
  
all: switchChannels2

clean:
	rm -f *.o switchChannels2 core
# DO NOT DELETE
