File: Makefile.mak

package info (click to toggle)
sptk 3.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 8,376 kB
  • sloc: ansic: 38,342; sh: 4,834; makefile: 1,403
file content (44 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (3)
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
INSTALLDIR = C:\SPTK\bin

all: float

float:
	cd lib
	nmake /f Makefile.mak
	cd ..
	
	cd bin
	nmake /f Makefile.mak
	cd ..

double:
	cd lib
	nmake /f Makefile.mak DOUBLE=1
	cd ..
	
	cd bin
	nmake /f Makefile.mak DOUBLE=1
	cd ..

clean:
	cd lib
	nmake /f Makefile.mak clean
	cd ..
	
	cd bin
	nmake /f Makefile.mak clean
	cd ..
	
install::
        @if not exist "$(INSTALLDIR)\lib" mkdir "$(INSTALLDIR)\lib"
        cd lib
        copy *.lib $(INSTALLDIR)\lib
        cd ..
        @if not exist "$(INSTALLDIR)\bin" mkdir "$(INSTALLDIR)\bin"
        cd bin
        copy *.exe $(INSTALLDIR)\bin
        cd ..
        @if not exist "$(INSTALLDIR)\include" mkdir "$(INSTALLDIR)\include"
        cd include
        copy *.h $(INSTALLDIR)\include
        cd ..