mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-09 04:22:04 -04:00
Remove some test programs
This commit is contained in:
parent
5d3fef8b07
commit
9661439612
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
@ -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);
|
||||
}
|
@ -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
|
@ -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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user