diff options
Diffstat (limited to 'mbbsd/Makefile.am')
-rw-r--r-- | mbbsd/Makefile.am | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mbbsd/Makefile.am b/mbbsd/Makefile.am index 8d19b6ff..6ab24ad3 100644 --- a/mbbsd/Makefile.am +++ b/mbbsd/Makefile.am @@ -4,7 +4,8 @@ ######################################################################## # $Id$ -bin_PROGRAMS=mbbsd +PROG=mbbsd +bin_PROGRAMS=$(PROG) mbbsd_SOURCES= \ ../include/var.h \ @@ -19,6 +20,12 @@ mbbsd_SOURCES= \ ../include/var.h: var.c perl ../util/parsevar.pl < var.c > ../include/var.h +test: $(PROG) + killall -9 test$(PROG) || true + cp $(PROG) test$(PROG) + ./test$(PROG) 9000 + rm -f test$(PROG) + ## reduce .bss align overhead #.if !defined(DEBUG) #LDFLAGS+=-Wl,--sort-common @@ -28,11 +35,6 @@ mbbsd_SOURCES= \ # sh ../util/newvers.sh # $(DIETCC) $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(EXT_LIBS) vers.c -#test: $(PROG) -# killall -9 testmbbsd || true -# cp mbbsd testmbbsd -# ./testmbbsd 9000 -# rm -f testmbbsd # #install: $(PROG) # install -d $(BBSHOME)/bin/ |