File: makefile.dll

package info (click to toggle)
gplcver 2.12a-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, squeeze, stretch, wheezy
  • size: 7,604 kB
  • ctags: 9,129
  • sloc: ansic: 126,201; sh: 1,539; makefile: 89; perl: 22
file content (24 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Make file for creating a CVER DLL and create
# an executable using the DLL
#

SHELL=/bin/bash

CC=gcc

DLLOBJS=cver.o v_acc.o v_cnv.o v_dbg.o v_dbg2.o v_del.o \
			v_ex.o v_ex2.o v_ex3.o v_ex4.o v_fx.o v_fx2.o \
			v_fx3.o v_ms.o v_prp.o v_prp2.o v_sdf.o v_sim.o \
			v_src.o v_src2.o v_src3.o v_tf.o v_trch.o \
			v_vpi.o v_vpi2.o v_vpi3.o

EXEOBJS=dig_main.o


dll: $(DLLOBJS)
	$(CC) -shared -o libcver.dll -Wl,--out-implib=libcver.dll.a \
		-Wl,--export-all -Wl,--enable-auto-image-base \
		-Wl,--export-dynamic -Wl,--output-def=libcver.def $(DLLOBJS)

exe: $(EXEOBJS)
	$(CC) -o cver.exe $(EXEOBJS) -L./ -lcver -lm -lcygwin