diff options
Diffstat (limited to 'as/Makefile')
-rw-r--r-- | as/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/as/Makefile b/as/Makefile index 4dedc8d..5873f14 100644 --- a/as/Makefile +++ b/as/Makefile @@ -1,4 +1,8 @@ +ifeq ($(VERSION),) +include Version +endif + CFLAGS=-O LDFLAGS=-s LIBDIR=/usr/bin @@ -30,6 +34,9 @@ install: all clean realclean clobber: rm -f *.o as86 as86_encap +.c.o: + $(CC) -DVERSION='"$(VERSION)"' $(CFLAGS) -c $< + as.o: const.h type.h byteord.h macro.h file.h flag.h globvar.h assemble.o: const.h type.h address.h globvar.h opcode.h scan.h error.o: const.h type.h |