mirror of
https://github.com/preble/libpinproc
synced 2026-02-22 18:15:25 +01:00
Initial commit.
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# File: Makefile (for library)
|
||||
#
|
||||
CC=g++
|
||||
LIB=libpinproc.a
|
||||
LIBDEST=./
|
||||
|
||||
LIBSRC=src/pinproc.cpp src/PRDevice.cpp src/PRHardware.cpp
|
||||
|
||||
LIBOBJ=$(LIBSRC:.cpp=.o)
|
||||
|
||||
#CXXFLAGS=-I/usr/local/lib -lusb -lftdi
|
||||
|
||||
$(LIB): $(LIBOBJ)
|
||||
@echo lib Makefile - archiving $(LIB)
|
||||
$(AR) r $(LIB) $(LIBOBJ)
|
||||
|
||||
.cpp.o:
|
||||
@echo lib Makefile - compiling $<
|
||||
$(CC) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f $(LIBOBJ) $(LIB)
|
||||
Reference in New Issue
Block a user