mirror of
https://github.com/ksherlock/profuse.git
synced 2025-01-24 06:31:08 +00:00
pedantic errors, linux makefile
git-svn-id: https://profuse.googlecode.com/svn/trunk@11 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
ef3aa273b3
commit
193e1ab933
2
File.cpp
2
File.cpp
@ -9,7 +9,7 @@
|
||||
#include "File.h"
|
||||
|
||||
#include "common.h"
|
||||
#include <strings.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <ctype.h>
|
||||
|
||||
|
15
makefile.linux
Executable file
15
makefile.linux
Executable file
@ -0,0 +1,15 @@
|
||||
|
||||
CC=g++
|
||||
CFLAGS=-c $(shell pkg-config fuse --cflags)
|
||||
LDFLAGS=$(shell pkg-config fuse --libs)
|
||||
SOURCES=main.cpp File.cpp Disk.cpp File.h Disk.h common.h
|
||||
OBJECTS=$(SOURCES:.cpp=.o)
|
||||
EXECUTABLE=profuse
|
||||
|
||||
all: $(SOURCES) $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
.cpp.o:
|
||||
$(CC) $(CFLAGS) $< -o $@
|
Loading…
x
Reference in New Issue
Block a user