You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
|
|
CFLAGS = /Ox /MD /nologo /I.. /IC:\OSGeo4W\include \ |
|
/D_LITTLE_ENDIAN -DPROJ4 |
|
|
|
LINKARGS = ..\shapelib_i.lib C:\OSGeo4W\lib\proj_i.lib |
|
|
|
default: all |
|
|
|
all: shpcat.exe shpcentrd.exe shpdxf.exe shpinfo.exe shpproj.exe |
|
|
|
shpcat.exe: shpcat.obj shpgeo.obj |
|
$(CC) $(CFLAGS) shpcat.obj $(LINKARGS) |
|
if exist $@.manifest mt -manifest $@.manifest -outputresource:$@;1 |
|
|
|
shpcentrd.exe: shpcentrd.obj shpgeo.obj |
|
$(CC) $(CFLAGS) shpcentrd.obj shpgeo.obj $(LINKARGS) |
|
if exist $@.manifest mt -manifest $@.manifest -outputresource:$@;1 |
|
|
|
shpproj.exe: shpproj.obj shpgeo.obj |
|
$(CC) $(CFLAGS) shpproj.obj shpgeo.obj $(LINKARGS) |
|
if exist $@.manifest mt -manifest $@.manifest -outputresource:$@;1 |
|
|
|
shpdxf.exe: shpdxf.obj shpgeo.obj |
|
$(CC) $(CFLAGS) shpdxf.obj $(LINKARGS) |
|
if exist $@.manifest mt -manifest $@.manifest -outputresource:$@;1 |
|
|
|
shpinfo.exe: shpinfo.obj shpgeo.obj |
|
$(CC) $(CFLAGS) shpinfo.obj $(LINKARGS) |
|
if exist $@.manifest mt -manifest $@.manifest -outputresource:$@;1 |
|
|
|
clean: |
|
-del *.obj |
|
-del *.exe |
|
-del *.manifest
|
|
|