Commit 5d010dbc authored by jp7g21's avatar jp7g21
Browse files

Drake working

parent f2fa6ad9
#!/bin/bash
make "$@"
res=$?
if [ $res != 0 ]
then
echo ":("
else
echo ":)"
fi
exit $res
objs := main.o stuff.o
main: $(objs)
cc main.o stuff.o -o main
.PHONY: clean
clean:
rm -f $(objs) main
#include <stdio.h>
int do_stuff(void);
int main(void)
{
do_stuff();
return 0;
}
#include <stdio.h>
int do_stuff(void)
{
printf("hello, world\n")
return 0;
}
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