Fixed build

This commit is contained in:
Pierre Pronchery 2011-03-28 00:02:42 +00:00
parent 5fc4bbd190
commit 2a8ca5de16
4 changed files with 9 additions and 7 deletions

View File

@ -5,9 +5,9 @@ BINDIR = $(PREFIX)/bin
CC = cc CC = cc
CPPFLAGSF= CPPFLAGSF=
CPPFLAGS= CPPFLAGS=
CFLAGSF = -W `pkg-config --cflags libSystem` CFLAGSF = -W `pkg-config --cflags libApp`
CFLAGS = -Wall -g -O2 -pedantic CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= `pkg-config --libs libSystem` LDFLAGSF= `pkg-config --libs libApp`
LDFLAGS = LDFLAGS =
RM = rm -f RM = rm -f
LN = ln -f LN = ln -f

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $Id$ */
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */ /* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Network Probe */ /* This file is part of DeforaOS Network Probe */
/* This program is free software: you can redistribute it and/or modify /* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -17,7 +17,6 @@
#include <System.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <unistd.h> #include <unistd.h>
@ -26,6 +25,8 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <System.h>
#include <System/App.h>
#include "../config.h" #include "../config.h"
#ifndef PREFIX #ifndef PREFIX

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $Id$ */
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */ /* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Network Probe */ /* This file is part of DeforaOS Network Probe */
/* This program is free software: you can redistribute it and/or modify /* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -25,6 +25,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <System.h> #include <System.h>
#include <System/App.h>
#include "../data/Probe.h" #include "../data/Probe.h"
#include "../config.h" #include "../config.h"

View File

@ -1,7 +1,7 @@
targets=../data/Probe.h,Probe,DaMon targets=../data/Probe.h,Probe,DaMon
cflags_force=-W `pkg-config --cflags libSystem` cflags_force=-W `pkg-config --cflags libApp`
cflags=-Wall -g -O2 -pedantic cflags=-Wall -g -O2 -pedantic
ldflags_force=`pkg-config --libs libSystem` ldflags_force=`pkg-config --libs libApp`
ldflags= ldflags=
dist=Makefile,appbroker.sh dist=Makefile,appbroker.sh