diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-01 12:48:55 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-01 12:48:55 +0200 |
| commit | 6f4313bc1ed5be794146e6ca2fd73f48c7906061 (patch) | |
| tree | a79c8be8613e8b4256d609477f98f440bfd7168c /Makefile | |
| parent | 1a5bfe9b08707b0aef748d7921a419ba4a046fba (diff) | |
| download | nissy-classic-6f4313bc1ed5be794146e6ca2fd73f48c7906061.tar.gz nissy-classic-6f4313bc1ed5be794146e6ca2fd73f48c7906061.zip | |
Reverted to 2.0.3
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
| @@ -1,18 +1,19 @@ | |||
| 1 | # See LICENSE file for copyright and license details. | 1 | # See LICENSE file for copyright and license details. |
| 2 | 2 | ||
| 3 | VERSION = post-2.0.2 | 3 | VERSION = 2.0.3 |
| 4 | 4 | ||
| 5 | PREFIX = /usr/local | 5 | PREFIX = /usr/local |
| 6 | MANPREFIX = ${PREFIX}/share/man | 6 | MANPREFIX = ${PREFIX}/share/man |
| 7 | 7 | ||
| 8 | CPPFLAGS = -DVERSION=\"${VERSION}\" | 8 | CPPFLAGS = -DVERSION=\"${VERSION}\" |
| 9 | CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ | 9 | CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ |
| 10 | -Wno-unused-parameter -O3 ${CPPFLAGS} | 10 | -Wno-unused-parameter -O3 ${CPPFLAGS} |
| 11 | DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ | 11 | DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ |
| 12 | -Wno-unused-parameter -g ${CPPFLAGS} | 12 | -Wno-unused-parameter -g ${CPPFLAGS} |
| 13 | 13 | ||
| 14 | CC = cc | 14 | CC = cc |
| 15 | 15 | ||
| 16 | |||
| 16 | all: nissy | 17 | all: nissy |
| 17 | 18 | ||
| 18 | nissy: clean | 19 | nissy: clean |
| @@ -24,11 +25,8 @@ nissy.exe: | |||
| 24 | debug: | 25 | debug: |
| 25 | ${CC} ${DBGFLAGS} -o nissy src/*.c | 26 | ${CC} ${DBGFLAGS} -o nissy src/*.c |
| 26 | 27 | ||
| 27 | test: | ||
| 28 | ${CC} ${DBGFLAGS} -DTEST -o test src/*.c tests/*.c | ||
| 29 | |||
| 30 | clean: | 28 | clean: |
| 31 | rm -rf nissy nissy*.exe nissy*.tar.gz doc/nissy.html doc/nissy.pdf | 29 | rm -rf nissy nissy*.exe nissy*.tar.gz |
| 32 | 30 | ||
| 33 | dist: clean nissy.exe | 31 | dist: clean nissy.exe |
| 34 | mkdir -p nissy-${VERSION} | 32 | mkdir -p nissy-${VERSION} |
| @@ -65,4 +63,5 @@ uninstall: | |||
| 65 | rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 | 63 | rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 |
| 66 | for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done | 64 | for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done |
| 67 | 65 | ||
| 68 | .PHONY: all debug test clean dist install uninstall upload | 66 | .PHONY: all debug clean dist install uninstall upload |
| 67 | |||
