diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-25 22:28:36 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-25 22:28:36 +0100 |
| commit | 0db08b388ff8ee277b554accf6d43ce31c7d97a8 (patch) | |
| tree | 9f76bb0bcdbc3d55f07c6ce0863807d37d11147d /Makefile | |
| parent | Fix bug (incorrect update to histogram) (diff) | |
| download | libquanta-1.0.tar.gz libquanta-1.0.tar.bz2 libquanta-1.0.tar.xz | |
Add demo1.0
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -39,7 +39,7 @@ MAN3 =\ MAN7 = libquanta.7 -all: libquanta.a libquanta.$(LIBEXT) +all: libquanta.a libquanta.$(LIBEXT) demo $(OBJ): $(HDR) $(LOBJ): $(HDR) @@ -57,6 +57,9 @@ libquanta.a: $(OBJ) libquanta.$(LIBEXT): $(LOBJ) $(CC) $(LIBFLAGS) -o $@ $(LOBJ) $(LDFLAGS) +demo: demo.o libquanta.a + $(CC) -o $@ demo.o libquanta.a $(LDFLAGS) + install: libquanta.a libquanta.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/include" @@ -85,6 +88,7 @@ uninstall: clean: -rm -f -- *.o *.a *.lo *.su *.so *.so.* *.dll *.dylib -rm -f -- *.gch *.gcov *.gcno *.gcda *.$(LIBEXT) + -rm -f -- demo .SUFFIXES: .SUFFIXES: .lo .o .c |
