-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathwin32.mak
56 lines (44 loc) · 1.01 KB
/
win32.mak
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# Makefile for Windows
#
# Call as "NMAKE /f win32.mak"
#
# Most defaults are brought in by the rose_config file. This file
# links against the ST-Developer DLLs so it will work with Personal
# Edition.
#
!include $(ROSE_CONFIG)
EXEC = stp2webgl.exe
CXX_CFLAGS = \
/DROSE_DLL \
/I"$(ROSE_INCLUDE)" \
/I"$(ROSE_INCLUDE)\stpcad" \
/I"$(ROSE_INCLUDE)\stixmesh" \
/I"$(ROSE_INCLUDE)\stix"
CXX_LDFLAGS = /LIBPATH:"$(ROSE_LIB)"
LIBRARIES = \
stpcad_stixmeshdll.lib stpcad_stixdll.lib stpcaddll.lib \
p28e2dll.lib rosedll.lib $(CXX_SYSLIBS)
OBJECTS = \
stp2webgl$o \
facet_product$o \
write_stl$o \
write_stlbin$o \
write_webxml$o
#========================================
# Standard Symbolic Targets
#
default: $(EXEC)
install: $(EXEC)
clean:
- $(RM) *.obj
- $(RM) *.exe
- $(RM) *.exe.manifest
very-clean: clean
spotless: very-clean
#========================================
# Executables and other targets
#
$(EXEC): $(OBJECTS)
$(CXX_LINK) /out:$@ $(OBJECTS) $(LIBRARIES)
$(CXX_EMBED_EXE_MANIFEST)