Fixed up the makefile and typed up devpkg.c