File: Makefile3

package info (click to toggle)
libmakefile-parser-perl 0.211-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 560 kB
  • ctags: 556
  • sloc: perl: 7,028; makefile: 263
file content (19 lines) | stat: -rw-r--r-- 309 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
RM_F = perl -MExtUtils::Command -e rm_f
EXE_FILES = sum1.exe sum2.exe
OBJ_FILES = sum1.obj sum2.obj ast++.sum.o

.SUFFIXES: .obj .asm .exe

all: $(EXE_FILES) ast++.sum.o

clean:
	$(RM_F) $(EXE_FILES) $(OBJ_FILES)

ast++.%.o: ast++.%.c
	cl /L ast++.$*.lib $<

.asm.obj:
	masm $<;

.obj.exe::
	link /NOLOGO $<;