#
#
#   Makefile
#
#

.SUFFIXES: .cc .o
LIBS=
OBJECTS=../../src/cmdline.o
TARGET=opttest
DEBUG=#-Wall -g
all: $(TARGET)

$(TARGET): $(TARGET).o $(OBJECTS)
	g++ -o $@ $@.o $(OBJECTS) $(LIBS)
.cc.o:
	g++ $(DEBUG) $(CFLAGS) -c -o $@ $<
clean:
	rm -f *.o core $(TARGET)
strip: $(TARGET)
	strip --strip-unneeded $(TARGET)
rebuild: clean all
