diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-02-07 21:50:28 +0000 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-04-08 18:52:36 +0100 |
| commit | 4934bd6f24f97923f2dacd5afa022055a4b52a6e (patch) | |
| tree | c285f8b47a55c82e896751473dd6d1bb744d30c3 /utils/hwstub/lib/Makefile | |
| parent | 5ac0166388ac9a493491a30fbc3570f23950dc51 (diff) | |
| download | rockbox-4934bd6f24f97923f2dacd5afa022055a4b52a6e.zip rockbox-4934bd6f24f97923f2dacd5afa022055a4b52a6e.tar.gz rockbox-4934bd6f24f97923f2dacd5afa022055a4b52a6e.tar.bz2 rockbox-4934bd6f24f97923f2dacd5afa022055a4b52a6e.tar.xz | |
hwstub: remove the old library
Change-Id: I94d0f67cfd0d636407cd9cf3afbe0db4064de28e
Diffstat (limited to 'utils/hwstub/lib/Makefile')
| -rw-r--r-- | utils/hwstub/lib/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/utils/hwstub/lib/Makefile b/utils/hwstub/lib/Makefile index 92dd358..1cc61d6 100644 --- a/utils/hwstub/lib/Makefile +++ b/utils/hwstub/lib/Makefile @@ -1,19 +1,14 @@ AR=ar INCLUDE=../include -CFLAGS=-W -Wall -O2 `pkg-config --cflags libusb-1.0` -std=c99 -g -fPIC -D_XOPEN_SOURCE=700 -I$(INCLUDE) CXXFLAGS=-W -Wall -O2 `pkg-config --cflags libusb-1.0` -std=c++11 -g -fPIC -D_XOPEN_SOURCE=700 -I$(INCLUDE) LDFLAGS=`pkg-config --libs libusb-1.0` -fPIC -lpthread LIB=libhwstub.a -SRC=$(wildcard *.c) -SRCXX=$(wildcard *.cpp) -OBJ=$(SRCXX:.cpp=.oxx) $(SRCXX:.cpp=.o) +SRC=$(wildcard *.cpp) +OBJ=$(SRC:.cpp=.o) all: $(LIB) -%.o: %.c - $(CC) $(CFLAGS) -c -o $@ $< - -%.oxx: %.cpp +%.o: %.cpp $(CXX) $(CXXFLAGS) -c -o $@ $< $(LIB): $(OBJ) @@ -21,5 +16,3 @@ $(LIB): $(OBJ) clean: rm -rf $(OBJ) $(LIB) - - |