Remove some test programs

This commit is contained in:
Baptiste Wicht 2014-03-06 16:46:06 +01:00
parent 5d3fef8b07
commit 9661439612
6 changed files with 1 additions and 66 deletions

2
.gitignore vendored
View File

@ -16,9 +16,7 @@ programs/reboot/reboot
programs/stat/stat
programs/cat/cat
programs/which/which
programs/one/one
programs/long/long
programs/hello/hello
programs/loop/loop
programs/keyboard/keyboard
programs/longtwo/longtwo

View File

@ -1,6 +1,6 @@
.PHONY: dist default clean force_look
PROGRAMS=one hello long loop longone longtwo keyboard tsh cpuid shutdown reboot args stat cat which readelf touch mkdir rm date ls mount df uptime
PROGRAMS=long loop longone longtwo keyboard tsh cpuid shutdown reboot args stat cat which readelf touch mkdir rm date ls mount df uptime
default: dist

View File

@ -1,15 +0,0 @@
.PHONY: default clean
default: hello
include ../../cpp.mk
%.cpp.o: src/%.cpp
$(CC) -c $< -o $@ $(PROGRAM_FLAGS)
hello: main.cpp.o
$(CC) -o hello main.cpp.o $(PROGRAM_LINK_FLAGS)
clean:
rm -f *.cpp.o
rm -rf hello

View File

@ -1,17 +0,0 @@
//=======================================================================
// Copyright Baptiste Wicht 2013-2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//=======================================================================
#include <print.hpp>
#include <system.hpp>
const char* source = "Hello world";
int main(){
print_line(source);
exit(0);
}

View File

@ -1,15 +0,0 @@
.PHONY: default clean
default: one
include ../../cpp.mk
%.cpp.o: src/%.cpp
$(CC) -c $< -o $@ $(PROGRAM_FLAGS)
one: main.cpp.o
$(CC) -o one main.cpp.o $(PROGRAM_LINK_FLAGS)
clean:
rm -f *.cpp.o
rm -rf one

View File

@ -1,16 +0,0 @@
//=======================================================================
// Copyright Baptiste Wicht 2013-2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//=======================================================================
#include <print.hpp>
#include <system.hpp>
int main(){
print('Z');
print_line();
exit(0);
}