From 6f4313bc1ed5be794146e6ca2fd73f48c7906061 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 1 May 2023 12:48:55 +0200 Subject: Reverted to 2.0.3 --- Makefile | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 71eda6b..ab062f7 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,19 @@ # See LICENSE file for copyright and license details. -VERSION = post-2.0.2 +VERSION = 2.0.3 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -CPPFLAGS = -DVERSION=\"${VERSION}\" -CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ - -Wno-unused-parameter -O3 ${CPPFLAGS} -DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ - -Wno-unused-parameter -g ${CPPFLAGS} +CPPFLAGS = -DVERSION=\"${VERSION}\" +CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ + -Wno-unused-parameter -O3 ${CPPFLAGS} +DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ + -Wno-unused-parameter -g ${CPPFLAGS} CC = cc + all: nissy nissy: clean @@ -24,11 +25,8 @@ nissy.exe: debug: ${CC} ${DBGFLAGS} -o nissy src/*.c -test: - ${CC} ${DBGFLAGS} -DTEST -o test src/*.c tests/*.c - clean: - rm -rf nissy nissy*.exe nissy*.tar.gz doc/nissy.html doc/nissy.pdf + rm -rf nissy nissy*.exe nissy*.tar.gz dist: clean nissy.exe mkdir -p nissy-${VERSION} @@ -65,4 +63,5 @@ uninstall: rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done -.PHONY: all debug test clean dist install uninstall upload +.PHONY: all debug clean dist install uninstall upload + -- cgit v1.3