summaryrefslogtreecommitdiff
path: root/win32/Makefile.am
blob: 08211684c8daa358170e66976d4d508c8b6b94a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include $(top_srcdir)/Makefile.flags.am

noinst_HEADERS = openpcd.h
noinst_DATA = openpcd.dll

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