From 8a92487774b8d15be627f230a4f8d864cfcc9b8d Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Tue, 8 Apr 2008 12:10:09 -0400 Subject: Added a Makefile Also fixed mysql include in pkgdb2-del. Rigged some makefile defines for mysql info instead of hardcoding into the source. Signed-off-by: Simo Leone Aaron: Added -I for mysql includes Signed-off-by: Aaron Griffin --- pkgdb2-del.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgdb2-del.c') diff --git a/pkgdb2-del.c b/pkgdb2-del.c index c81e542..3ceb580 100644 --- a/pkgdb2-del.c +++ b/pkgdb2-del.c @@ -4,9 +4,9 @@ #include #include -#define DB_USER "archweb" -#define DB_NAME "archweb" -#define DB_PASS "passwords-are-cool" +#ifndef DB_PASS + #error "MySQL connection info undefined" +#endif typedef struct pkg { unsigned int id; -- cgit v1.2.3-24-g4f1b