summaryrefslogtreecommitdiff
path: root/win32/Makefile.am
blob: f565f1f3500e1f6a9dfea85331c95ea9fa5fff3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
LIBVERSION= 0:0:0

noinst_HEADERS = openpcd.h
noinst_DATA = openpcd.dll

INCLUDES = -I$(top_srcdir)/include
LIBRFID_DIR = $(top_builddir)/src/.libs/
CLEANFILES = $(noinst_DATA)

.c.o:
	$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

.o.dll:
	$(CC) -mno-cygwin --add-stdcall-alias -shared -o $@ -L$(LIBRFID_DIR) $< -lrfid -lwinmm -Wl,-no-undefined -Wl,--entry,__cygwin_noncygwin_dll_entry@12
	$(STRIP) --strip-unneeded $@
personal git repositories of Harald Welte. Your mileage may vary