Eric Smith edeccf9
diff -up z80asm-1.8/Makefile.no-bundled-libs z80asm-1.8/Makefile
Eric Smith edeccf9
--- z80asm-1.8/Makefile.no-bundled-libs	2009-04-11 01:33:07.000000000 -0700
Eric Smith edeccf9
+++ z80asm-1.8/Makefile	2012-02-26 23:24:43.763412540 -0800
Eric Smith edeccf9
@@ -23,11 +23,13 @@ VERSION ?= $(shell echo -n `cat VERSION
Eric Smith edeccf9
 
Eric Smith edeccf9
 all:z80asm
Eric Smith edeccf9
 
Eric Smith edeccf9
-z80asm: z80asm.o expressions.o Makefile gnulib/getopt.o gnulib/getopt1.o
Eric Smith edeccf9
+z80asm: z80asm.o expressions.o Makefile
Eric Smith edeccf9
 	$(CC) $(LDFLAGS) $(filter %.o,$^) -o $@
Eric Smith edeccf9
+
Eric Smith edeccf9
+test:	z80asm
Eric Smith edeccf9
 	$(MAKE) -C tests || rm $@
Eric Smith edeccf9
 
Eric Smith edeccf9
-%.o:%.c z80asm.h gnulib/getopt.h Makefile
Eric Smith edeccf9
+%.o:%.c z80asm.h Makefile
Eric Smith edeccf9
 	$(CC) $(CFLAGS) -c $< -o $@ -DVERSION=\"$(shell cat VERSION)\"
Eric Smith edeccf9
 
Eric Smith edeccf9
 clean: