Mercurial > pt1.oyama
view recpt1/Makefile @ 32:6004fe4f37f9
adapted to use of multiple number of pt1:
- now recpt1 supports simultaneous use of two pt1s.
- new device option has been added.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 03 Mar 2009 05:30:25 +0900 |
parents | b63f5c100e5a |
children | 9b36fdf7d5d0 |
line wrap: on
line source
PREFIX = /usr/local CC = gcc CPPFLAGS = -I../driver -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DB25 CFLAGS = -O2 -g -pthread PCSC_LIBS = `pkg-config libpcsclite --libs` B25_LIBS = -larib25 LIBS = $(PCSC_LIBS) $(B25_LIBS) -lm -lpthread LDFLAGS = OBJS = recpt1.o decoder.o TARGET = recpt1 DEPEND = Makefile.dep all: $(TARGET) clean: rm -f $(OBJS) $(TARGET) $(DEPEND) $(TARGET): $(OBJS) $(CC) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS) $(DEPEND): $(CC) -MM $(OBJS:.o=.c) $(CPPFLAGS) > $@ install: $(TARGET) install -m 755 $(TARGET) $(PREFIX)/bin -include Makefile.dep