forked from capiman/lpc21isp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.vc
More file actions
26 lines (18 loc) · 687 Bytes
/
Makefile.vc
File metadata and controls
26 lines (18 loc) · 687 Bytes
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
all: lpc21isp.exe
GLOBAL_DEP = lpc21isp.h adprog.h lpcprog.h lpcterm.h
RM = del
CC = cl
# CFLAGS = -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS
CFLAGS =
adprog.obj: adprog.c $(GLOBAL_DEP)
$(CC) -c $(CFLAGS) adprog.c
lpcprog.obj: lpcprog.c $(GLOBAL_DEP)
$(CC) -c $(CFLAGS) lpcprog.c
lpcterm.obj: lpcterm.c $(GLOBAL_DEP)
$(CC) -c $(CFLAGS) lpcterm.c
lpc21isp.obj: lpc21isp.c $(GLOBAL_DEP)
$(CC) -c $(CFLAGS) lpc21isp.c
lpc21isp.exe: lpc21isp.obj adprog.obj lpcprog.obj lpcterm.obj
$(CC) /Felpc21isp.exe lpc21isp.obj adprog.obj lpcprog.obj lpcterm.obj winmm.lib
clean:
$(RM) adprog.obj lpcprog.obj lpcterm.obj lpc21isp.obj lpc21isp.exe vc*.pdb