GNUMakefile for ATS2-Postiats
Place this Makefile at the root directory of your ATS project. After running commands make
, make all
or make run
, a new directory build
containing the project executable and intermediate .c
and .o
files will be automatically created.
Example (project: helloworld):
\build
\bin (project executable)
helloworld
\obj (intermediate .o files)
main_dats.o
\src (intermediate .c files)
main_dats.c
\src
\dats (project .dats files)
main.dats
\sats (project .sats files)
Makefile (this file)
The following commands are available:
make all
: build the projectmake run
: build then run the project executablemake clean
: cleanup project