makefile fixes; gitignore

This commit is contained in:
tg(x) 2011-04-17 14:17:11 +02:00
parent a3cccb5fda
commit f07efe501d
3 changed files with 7 additions and 2 deletions

3
src/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.o
*.a
tests/testParser

View File

@ -8,8 +8,8 @@ default:
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc"
diet:
/opt/diet/bin/diet ${CC} -static -c -Os $S -DDEBUG
/opt/diet/bin/diet ar rcs libpsyc.a $O
diet ${CC} -static -c -Os $S -DDEBUG -DPSYC_COMPILE_LIBRARY
diet ar rcs libpsyc.a $O
lib: $S
${CC} -static -c -g -O0 $S -lc -DDEBUG -DPSYC_COMPILE_LIBRARY

View File

@ -6,3 +6,5 @@ works:
it: testParser
test:
for f in parser/*txt; do echo -e "\n>> $$f"; ./testParser $$f; done