Check-in [7c24c9d52b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:moved last file to tests and tweaked the makefile to fit
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7c24c9d52b2622e19e0ac8a1b1819f11b8dd3f78e548bbcc88c2403637bc97d1
User & Date: grable 2018-11-01 19:01:38
Context
2018-11-01
19:16
updated BlitzMax test check-in: 1c412155ba user: grable tags: trunk
19:01
moved last file to tests and tweaked the makefile to fit check-in: 7c24c9d52b user: grable tags: trunk
18:50
moved tests to own directory check-in: fdeca0a0a0 user: grable tags: trunk
Changes

Changes to Makefile.

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

30



31
32
33
				strrpbrk.c

all: jimff.so test_lib.dll

jimff.so: $(JIMFF_H) $(JIMFF_C)
	$(CC) $(CFLAGS) $(INCLUDE) -Ofast -DNDEBUG -w $(LIB) $(LIBJIM) -shared -DJIMFF_DLL jimff.c $(LIBS) -o jimff.so

test_lib.dll: test_lib.c
	$(CC) $(CFLAGS) -Os -s -DNDEBUG -shared test_lib.c -o test_lib.dll

debug: $(JIMFF_H) $(JIMFF_C) test_lib.c
	$(CC) $(CFLAGS) $(INCLUDE) -Og -g $(LIB) $(LIBJIM) -shared -DJIMFF_DLL jimff.c $(LIBS) -o jimff.so
	$(CC) $(CFLAGS) -Og -g -shared test_lib.c -o test_lib.dll
	
test: jimff.so test_lib.dll

	jimsh jimff_test.tcl



	
clean:
	rm -rf test_lib.dll jimff.so







|
|

|

|


>

>
>
>



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
				strrpbrk.c

all: jimff.so test_lib.dll

jimff.so: $(JIMFF_H) $(JIMFF_C)
	$(CC) $(CFLAGS) $(INCLUDE) -Ofast -DNDEBUG -w $(LIB) $(LIBJIM) -shared -DJIMFF_DLL jimff.c $(LIBS) -o jimff.so

test_lib.dll: tests/test_lib.c
	$(CC) $(CFLAGS) -Os -s -DNDEBUG -shared tests/test_lib.c -o test_lib.dll

debug: $(JIMFF_H) $(JIMFF_C) tests/test_lib.c
	$(CC) $(CFLAGS) $(INCLUDE) -Og -g $(LIB) $(LIBJIM) -shared -DJIMFF_DLL jimff.c $(LIBS) -o jimff.so
	$(CC) $(CFLAGS) -Og -g -shared tests/test_lib.c -o test_lib.dll
	
test: jimff.so test_lib.dll
ifneq (,$(wildcard jimff_test.tcl))
	jimsh jimff_test.tcl
else
	jimsh tests/jimff_init.tcl
endif
	
clean:
	rm -rf test_lib.dll jimff.so

Name change from test_lib.c to tests/test_lib.c.