Ticket #42599: patch-Makefile.diff

File patch-Makefile.diff, 664 bytes (added by schmurtz_macport@…, 11 years ago)

(new)

  • Makefile

    old new  
    88DESTDIR ?= /usr/local
    99
    1010VERSION := $(shell pwd | sed s/.*tools-//)
    11 CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
    12 LDLIBS := $(PCSC_LDLIBS)
     11#CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
     12#LDLIBS := $(PCSC_LDLIBS)
    1313# On xBSD systems use
    1414#LDLIBS = -lc_r $(PCSC_LDLIBS)
    1515# on MacOSX
    16 #CFLAGS = -Wall -O2 -DVERSION=\"$(VERSION)\"
    17 #LDLIBS = -framework PCSC
     16override CFLAGS += -Wall -O2 -DVERSION=\"$(VERSION)\"
     17override LDLIBS += -framework PCSC
    1818
    1919BIN = pcsc_scan
    2020BIN_SCRIPT = ATR_analysis gscriptor scriptor