Commit fdede467 authored by Oliver Bock's avatar Oliver Bock
Browse files

Add (default) target to build static library (and clean it)

parent 620c8077
.DEFAULT_GOAL := libantenna.a
antenna_main: antenna_lib.o antenna_main.c antenna_lib.h
cc -o antenna_main antenna_main.c antenna_lib.o -lm
antenna_lib.o: antenna_lib.c antenna_lib.h
cc -c antenna_lib.c
libantenna.a: antenna_lib.o
ar rcs libantenna.a antenna_lib.o
rm -f antenna_lib.o antenna_main
rm -f antenna_lib.o libantenna.a antenna_main
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment