You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
461 B

CXX=g++
CXXFLAGS= -Wall -ggdb -g -std=c++11 -I/usr/include/libxml2
LDFLAGS= -lm -L/usr/local/lib -g -ggdb -lxml2 -lcrypto
APPS = fbsh-cli
.SUFFIXES:
.SUFFIXES: .c .cc .C .cpp .oo
all: $(APPS)
.cc.oo : $(INCLUDES)
$(CXX) -o $@ -c $(CXXFLAGS) $<
# $(CXX) -o $@ $^ $(LDFLAGS) -L./ -I./ -ltinfo -lncursesw
fbsh-cli: fbsh.oo cfg.oo fbsh-cli.oo tcp.oo
$(CXX) -o $@ $^ $(LDFLAGS) -L./ -I./
clean:
rm -rf *.oo
rm -rf *.cc~
rm -rf fbsh-cli
rm -rf gmon.out