File: makefile.vc

package info (click to toggle)
picasm 1.6-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 200 kB
  • ctags: 365
  • sloc: ansic: 3,628; asm: 150; makefile: 70
file content (33 lines) | stat: -rw-r--r-- 854 bytes parent folder | download
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