# Project: vortex-listener vortex-client
CC = gcc.exe -g -Wall
OBJ = test_01.o
PROGRAMS = test_01.exe
LIBS = -Wall $(enable_gcc_debug) -L../src -laxl -L"../ns" -laxl-ns -L"../babel" -laxl-babel
INCS = -I"." -I"../src" -I"../ns" -DAXL_NS_SUPPORT -I"../babel"
CFLAGS = $(INCS) -DVERSION=\""$(AXL_VERSION)"\" -Wall -g -D__axl_disable_broken_bool_def__
.PHONY: all all-before all-after clean clean-custom
all: all-before $(PROGRAMS) all-after links
all-before:
cd ../src;make -f Makefile.win
all-after:
clean:
${RM} $(OBJ) $(PROGRAMS) *.dll
test_01.exe: test_01.o
$(CC) -mconsole $< -o $@ $(LIBS)
strip --strip-unneeded $@
links:
cp ../src/libaxl.dll .
cp ../ns/libaxl-ns.dll .
cp ../babel/libaxl-babel.dll .
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>