summaryrefslogtreecommitdiff
path: root/sysutils/hexpeek/files/patch-test_Makefile
blob: 67e48ec18010bc064af69b52355bfdff4aa00774 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- test/Makefile.orig	2020-08-04 05:58:52 UTC
+++ test/Makefile
@@ -28,10 +28,13 @@ SRCDIR := .
 BINDIR := .
 EXEC   := $(BINDIR)/simplediff
 CC     ?= clang
-CFLAGS := -O3 -Wall #-fPIC
+CFLAGS ?= -O3 -Wall #-fPIC
 
 all: $(EXEC)
 	make -C base
+
+test:	all
+	sh run
 
 clear:
 	rm -f $(EXEC)