rockbox/utils/nwztools/database/nvp/Makefile
Amaury Pouly 9b2fab1ca9 Makefile cleanups
Change-Id: I69b8b81d357553c979682d42097eba864c951512
2017-01-08 16:08:28 +01:00

26 lines
418 B
Makefile

DEFINES=
CC=gcc
CXX=g++
LD=g++
PROFILE=
CFLAGS=-g $(PROFILE) -std=c99 -Wall $(DEFINES) `xml2-config --cflags`
CXXFLAGS=-g $(PROFILE) -Wall $(DEFINES) `xml2-config --cflags`
LDFLAGS=$(PROFILE) `xml2-config --libs`
BINS=nvptool
all: $(BINS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<
nvptool: nvptool.o
$(LD) -o $@ $^ $(LDFLAGS)
clean:
rm -fr *.o
veryclean:
rm -rf $(BINS)