]> git.tuebingen.mpg.de Git - osl.git/blobdiff - examples/hlt/Makefile
Add two examples to illiustrate programming with libosl.
[osl.git] / examples / hlt / Makefile
diff --git a/examples/hlt/Makefile b/examples/hlt/Makefile
new file mode 100644 (file)
index 0000000..7a01195
--- /dev/null
@@ -0,0 +1,7 @@
+all: hlt
+%.o: %.c
+       gcc -O2 -g -c -Wall -o $@ $<
+hlt: hlt.o
+       gcc -o $@ $< -losl
+clean:
+       rm -f *.o hlt