File: Makefile.CygWin

package info (click to toggle)
turqstat 1.2-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 212 kB
  • ctags: 463
  • sloc: cpp: 2,637; makefile: 68
file content (45 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download
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
# Makefile for Windows 95, CygWin and GNU make
#
# $Id: Makefile.CygWin,v 1.4 1999/07/21 12:43:57 peter Exp $

CFLAGS=-Wall -O3

all: turqstat.exe

turqstat.exe: turqstat.o statengine.o statview.o turqstat.def squishread.o fdapxread.o jamread.o mypointread.o utility.o sdmread.o
	gcc $(CFLAGS) -o turqstat.exe *.o -lstdc++

turqstat.o: turqstat.cpp statengine.h statview.h arearead.h squishread.h fdapxread.h jamread.h mypointread.h version.h
	gcc $(CFLAGS) -c turqstat.cpp

statengine.o: statengine.cpp statengine.h
	gcc $(CFLAGS) -c statengine.cpp

statview.o: statview.cpp statview.h statengine.h version.h
	gcc $(CFLAGS) -c statview.cpp

squishread.o: squishread.cpp squishread.h arearead.h statengine.h datatypes.h utility.h
	gcc $(CFLAGS) -c squishread.cpp

utility.o: utility.cpp utility.h
	gcc $(CFLAGS) -c utility.cpp

fdapxread.o: fdapxread.cpp fdapxread.h datatypes.h statengine.h arearead.h
	gcc $(CFLAGS) -c fdapxread.cpp

jamread.o: jamread.cpp jamread.h datatypes.h statengine.h arearead.h
	gcc $(CFLAGS) -c jamread.cpp

mypointread.o: mypointread.cpp mypointread.h datatypes.h statengine.h arearead.h
	gcc $(CFLAGS) -c mypointread.cpp

sdmread.o: sdmread.cpp sdmread.h arearead.h statengine.h datatypes.h utility.h
	gcc $(CFLAGS) -DUNIX -c sdmread.cpp

dist: turqstat.exe
	strip turqstat.exe
	rar -av a turqstat.rar turqstat.exe README.Win32 cygwin1.dll

clean:
	-del *.o
	-del *.exe