diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-08 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-08 00:00:00 +0000 |
commit | 918461f30605f309754ad0b1c5e78b78cbbe8ac0b395d569b466808ab03d7d17 (patch) | |
tree | 9658887dce006c1935d5c0b1b6e32e4ce5fc4a50f301cd345679eaa3bd4f7836 | |
parent | eab869c88ed7bad03b141921c1a301c4dadd89335706d81e060fd0869fcf58f9 (diff) |
Remove tests
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | tests/test.c | 26 |
2 files changed, 2 insertions, 32 deletions
@@ -2,7 +2,6 @@ CC = gcc CFLAGS = -W RM = rm -f SRCDIR = src -TESTDIR = tests PREFIXUSER?=$(HOME)/.local PREFIXSYS?=/usr/local @@ -13,7 +12,7 @@ MANDIRSYS?=$(PREFIXSYS)/share/man default: all -all: gemini2html main test +all: gemini2html main gemini2html: $(SRCDIR)/gemini2html.c @$(CC) -c $(CFLAGS) -o gemini2html.o $(SRCDIR)/gemini2html.c @@ -21,9 +20,6 @@ gemini2html: $(SRCDIR)/gemini2html.c main: $(SRCDIR)/gemini2html.c $(SRCDIR)/main.c @$(CC) $(CFLAGS) -o gemini2html $(SRCDIR)/gemini2html.c $(SRCDIR)/main.c -test: $(TESTDIR)/test.c $(SRCDIR)/gemini2html.c - @$(CC) $(CFLAGS) -o test $(TESTDIR)/test.c $(SRCDIR)/gemini2html.c - install_user: all @mkdir -m755 -p $(MANDIRUSER)/man1 @install -m755 gemini2html $(BINDIRUSER)/gemini2html @@ -45,6 +41,6 @@ uninstall_sys: uninstall: uninstall_user uninstall_sys clean: - @$(RM) gemini2html.o gemini2html test + @$(RM) gemini2html.o gemini2html .PHONY: default all install_user install_sys uninstall_user uninstall_sys uninstall clean diff --git a/tests/test.c b/tests/test.c deleted file mode 100644 index c5f7639..0000000 --- a/tests/test.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - gemini2html Converts Gemini to HTML - Copyright (C) 2022 Nicholas Johnson - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. -*/ - -#include <stdio.h> - -#include "../src/gemini2html.h" - -int main(int argc, char* argv[]) { - // stub - return 0; -}
\ No newline at end of file |