mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
remove old pre-autoconf makefile
Change-Id: Icd519a69a5cb1950daa79df4d9864e8dea091289
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
LDFLAGS+=`pkg-config --libs libusb-1.0 libosmocore` -pthread
|
|
||||||
CFLAGS=-Wall -g
|
|
||||||
|
|
||||||
APPS=simtrace2-remsim simtrace2-remsim-usb2udp simtrace2-list simtrace2-sniff
|
|
||||||
|
|
||||||
all: $(APPS)
|
|
||||||
|
|
||||||
simtrace2-remsim: simtrace2-remsim.o apdu_dispatch.o simtrace2-discovery.o simtrace2_api.o libusb_util.o
|
|
||||||
$(CC) -o $@ $^ $(LDFLAGS) `pkg-config --libs libosmosim libpcsclite`
|
|
||||||
|
|
||||||
simtrace2-remsim-usb2udp: usb2udp.o simtrace2-discovery.o
|
|
||||||
$(CC) -o $@ $^ $(LDFLAGS)
|
|
||||||
|
|
||||||
simtrace2-list: simtrace2_usb.o libusb_util.o
|
|
||||||
$(CC) -o $@ $^ $(LDFLAGS)
|
|
||||||
|
|
||||||
simtrace2-sniff: simtrace2-sniff.o simtrace2-discovery.o libusb_util.o
|
|
||||||
$(CC) -o $@ $^ $(LDFLAGS)
|
|
||||||
|
|
||||||
%.o: %.c
|
|
||||||
$(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0 libosmocore` -o $@ -c $^
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@rm -f *.o $(APPS)
|
|
||||||
|
|
||||||
install: $(APPS)
|
|
||||||
mkdir -p $(DESTDIR)/usr/bin
|
|
||||||
cp $(APPS) $(DESTDIR)/usr/bin/
|
|
||||||
Reference in New Issue
Block a user