diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-02-04 12:33:36 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-02-04 12:33:36 +0100 |
commit | 5839159141b9cfb8d66f0baa456bff1bec6cce44 (patch) | |
tree | 37460231c28a9bad4f4000c339621fc1c191f9cd /Makefile | |
parent | za zunanje delo (diff) | |
download | ov-5839159141b9cfb8d66f0baa456bff1bec6cce44.tar ov-5839159141b9cfb8d66f0baa456bff1bec6cce44.tar.gz ov-5839159141b9cfb8d66f0baa456bff1bec6cce44.tar.bz2 ov-5839159141b9cfb8d66f0baa456bff1bec6cce44.tar.lz ov-5839159141b9cfb8d66f0baa456bff1bec6cce44.tar.xz ov-5839159141b9cfb8d66f0baa456bff1bec6cce44.tar.zst ov-5839159141b9cfb8d66f0baa456bff1bec6cce44.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,7 +1,8 @@ DESTDIR=/ SRCFILE=main.cpp +BINFILE=ov O=0 -CFLAGS += -Wextra -Wall -g -O$O -I. -oov -finput-charset=UTF-8 -fextended-identifiers +CFLAGS += -Wextra -Wall -g -O$O -I. -o$(BINFILE) -finput-charset=UTF-8 -fextended-identifiers LIBS += CC=c++ VGARGS += --leak-check=full --track-origins=yes --verbose --log-file=valgrind-out.txt --suppressions=/usr/lib/i386-linux-gnu/valgrind/default.supp --show-leak-kinds=all --leak-resolution=high @@ -18,19 +19,19 @@ cc: install: mkdir -p $(DESTDIR)/usr/bin/ - cp ov $(DESTDIR)/usr/bin/ + cp $(BINFILE) $(DESTDIR)/usr/bin/ distclean: - rm ov -f + rm $(BINFILE) -f clean: - rm ov -f + rm $(BINFILE) -f prepare: - apt install build-essential -y + apt install build-essential libmuparserx-dev -y -# developing is to be done on i386. for example the default suppression file is hardcoded for i386 here: +# developing is to be done on i386. # developing is to be done on bullseye. valgrind: - G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind $(VGARGS) ./ov + G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind $(VGARGS) ./$(BINFILE) |