1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-02 21:13:12 +02:00
Files
unrealircd/velcro/generateH
T
stskeeps 5849092137 - Adding Velcro (the build system from unreal4), for some experimentation
with a new module API. Is currently not autoconf'ied, makefile'ed, etc.
  May the screaming commence.
2007-06-04 21:05:36 +00:00

10 lines
245 B
Bash
Executable File

#!/bin/sh
echo "#ifndef __GUARD_$1_H" > $1.h
echo "#define __GUARD_$1_H" >> $1.h
if [ x"$1" != x"Velcro" ]; then
echo "#include \"Velcro.h\"" >> $1.h
fi
../velcro/part2 $1.preprocessed interface: implementation: >> $1.h
echo "#endif" >> $1.h