Fixed build on case-insensitive filesystems

This commit is contained in:
Pierre Pronchery 2012-07-31 21:46:33 +00:00
parent 674e836f6c
commit c84954a91d
7 changed files with 6 additions and 10 deletions

View File

@ -4,7 +4,7 @@ PREFIX = /usr/local
DESTDIR = DESTDIR =
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
CC ?= cc CC ?= cc
CPPFLAGSF= -I ../include CPPFLAGSF?=
CPPFLAGS?= CPPFLAGS?=
CFLAGSF = -W CFLAGSF = -W
CFLAGS = -Wall -g -O2 -pedantic CFLAGS = -Wall -g -O2 -pedantic

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $Id$ */
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */ /* Copyright (c) 2009-2012 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Panel */ /* This file is part of DeforaOS Desktop Panel */
/* 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
@ -19,7 +19,7 @@
# define PANEL_COMMON_H # define PANEL_COMMON_H
# include <gtk/gtk.h> # include <gtk/gtk.h>
# include "Panel.h" # include "../include/Panel.h"
/* Panel */ /* Panel */

View File

@ -1,6 +1,5 @@
subdirs=applets subdirs=applets
targets=panel,panelctl,run targets=panel,panelctl,run
cppflags_force=-I ../include
#cppflags=-D EMBEDDED #cppflags=-D EMBEDDED
cflags_force=-W cflags_force=-W
cflags=-Wall -g -O2 -pedantic cflags=-Wall -g -O2 -pedantic

View File

@ -3,7 +3,7 @@ PREFIX = /usr/local
DESTDIR = DESTDIR =
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
CC ?= cc CC ?= cc
CPPFLAGSF= -I ../include -I ../src CPPFLAGSF?=
CPPFLAGS?= CPPFLAGS?=
CFLAGSF = -W `pkg-config --cflags libSystem libDesktop` CFLAGSF = -W `pkg-config --cflags libSystem libDesktop`
CFLAGS = -Wall -g -O2 CFLAGS = -Wall -g -O2

View File

@ -27,8 +27,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <System.h> #include <System.h>
#include <Desktop.h> #include <Desktop.h>
#include "Panel.h" #include "../src/panel.h"
#include "panel.h"
#include "../config.h" #include "../config.h"
#ifdef PACKAGE #ifdef PACKAGE
# undef PACKAGE # undef PACKAGE

View File

@ -1,5 +1,4 @@
targets=panel-notify,panel-test targets=panel-notify,panel-test
cppflags_force=-I ../include -I ../src
cflags_force=-W `pkg-config --cflags libSystem libDesktop` cflags_force=-W `pkg-config --cflags libSystem libDesktop`
cflags=-Wall -g -O2 cflags=-Wall -g -O2
ldflags_force=`pkg-config --libs libSystem libDesktop` ldflags_force=`pkg-config --libs libSystem libDesktop`

View File

@ -26,8 +26,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <System.h> #include <System.h>
#include <Desktop.h> #include <Desktop.h>
#include "Panel.h" #include "../src/panel.h"
#include "panel.h"
#include "../config.h" #include "../config.h"
#ifdef PACKAGE #ifdef PACKAGE
# undef PACKAGE # undef PACKAGE