From: Michal Sojka Date: Tue, 3 Feb 2015 14:46:21 +0000 (+0100) Subject: Fix Makefile to work on Ubuntu Precise X-Git-Tag: 20150821~2 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/sojka/sterm.git/commitdiff_plain/f4c38021347a31df8a3769b8f7d1b76f61c2fac5 Fix Makefile to work on Ubuntu Precise --- diff --git a/Makefile b/Makefile index 18737c5..27dd2fc 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ LDFLAGS = -llockdev all: sterm +%: %.c + $(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@ + clean: rm -f sterm