File: makefile.msc

package info (click to toggle)
dia 0.97.3%2Bgit20160930-9
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 54,372 kB
  • sloc: ansic: 155,065; xml: 16,326; python: 6,641; cpp: 4,935; makefile: 3,833; sh: 540; perl: 137; sed: 19
file content (31 lines) | stat: -rw-r--r-- 887 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
## Makefile for building the GLib test programs with Microsoft C
## Use: nmake -f makefile.msc check
PRJ_TOP=..
TOP = ..\..
!INCLUDE $(PRJ_TOP)\dia-make.msc

################################################################

INCLUDES = -FImsvc_recommended_pragmas.h -I .. -I ..\lib $(GLIB_CFLAGS) \
# the following dependencies should _not_ be necessary to include object.h \
	$(GTK2_CFLAGS) $(LIBXML2_CFLAGS)

DEFINES = -DHAVE_CONFIG_H

TESTS = \
	test-boundingbox.exe \
	test-sizeof.exe \
	test-svg.exe \
	test-objects.exe \

all :	$(TESTS)

.c.exe :
	$(CC) $(CFLAGS) -c $<
	$(CC) $(CFLAGS) -Fe$@ $< ..\lib\libdia.lib $(GLIB_LIBS) $(LDFLAGS) user32.lib /subsystem:console

check:	all
	for %p in ($(TESTS)) do set PATH=..\lib;%PATH% && %p ..\objects\\ -s "/Dia/Objects/Demo, Custom Lines - Flow - Bezierline"

test: all
	for %p in ($(TESTS)) do set PATH=..\lib;%PATH% && %p ..\objects\\