1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#
# Makefile for picasm (MS Visual C / Win32)
#
VERSION=106
ARCHIVEFILES=LICENSE makefile.wat picasm.doc Makefile expr.c pic12bit.c \
picasm.h config.c makefile.sas pic14bit.c symtab.c devices.c \
makefile.w32 picasm.c token.c \
examples/example.asm examples/morse.asm examples/morse.h \
examples/pic16c84.h examples/picmac.h
OBJS = picasm.obj devices.obj config.obj token.obj symtab.obj expr.obj \
pic12bit.obj pic14bit.obj
CC=cl
CFLAGS=-W3 -O
picasm: $(OBJS)
$(CC) $(OBJS) -o $@
archive: picasm$(VERSION).zip
picasm$(VERSION).zip: $(ARCHIVEFILES)
zip picasm$(VERSION).zip $(ARCHIVEFILES)
picasm.obj: picasm.c picasm.h
devices.obj: devices.c picasm.h
config.obj: config.c picasm.h
token.obj: token.c picasm.h
symtab.obj: symtab.c picasm.h
expr.obj: expr.c picasm.h
pic12bit.obj: pic12bit.c picasm.h
pic14bit.obj: pic14bit.c picasm.h
|